Skip to content

Commit 67b5ffa

Browse files
committed
Add edit button to top of /organization page
1 parent 237090e commit 67b5ffa

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

app/views/organizations/_details.html.erb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
<div class="row">
44
<div class="col-md-12">
55
<div class="card card-primary">
6+
<% if can_administrate? %>
7+
<div class="card-footer">
8+
<%= edit_button_to(edit_organization_path, {size: "md"}) %>
9+
</div>
10+
<% end %>
611

712
<div class="card-header">
813
<h2 class="card-title">Organization Info</h2>

0 commit comments

Comments
 (0)