* . * . * . * snapshot * whoops * halifax * tests * little fixes * little fixes * test? i guess.. * . * minor fixes * Update schema.rb * Use shared logo_design in new org partial * little fix * Fix org spec * decrayonsifying rich-selector * if statement Co-authored-by: rhymes <rhymesete@gmail.com>
16 lines
541 B
Text
16 lines
541 B
Text
<div>
|
|
<h3><%= @organization.name %></h3>
|
|
<div class="grid gap-2">
|
|
<% @organization.users.each do |user| %>
|
|
<div class="crayons-card crayons-card--secondary p-4">
|
|
<a href="<%= user.path %>"><%= user.name %></a>
|
|
</div>
|
|
<% end %>
|
|
</div>
|
|
</div>
|
|
<h3>Danger zone</h3>
|
|
<%= form_tag users_leave_org_path(@organization), onsubmit: "return confirm('Are you sure you want to leave this organization?');" do %>
|
|
<div class="field">
|
|
<%= submit_tag "Leave Organization", class: "danger-button" %>
|
|
</div>
|
|
<% end %>
|