% content_for :more_breadcrumbs do %>
Domain | State | Controls | ||
---|---|---|---|---|
<% if domain.reverse? %> <%= abbr_glyph('chevron-left', 'Reverse') %> <% elsif domain.enum? %> <%= abbr_glyph('phone-alt', 'Enum') %> <% else %> <%= abbr_glyph('chevron-right', 'Forward') %> <% end %> <% if domain.slave? %> <%= abbr_glyph('link', 'Slave') %> <% end %> <% if domain.dnssec? %> <%= abbr_glyph('flash', 'DNSSEC') %> <% end %> | <%= link_to domain.name, domain %> | <%= human_state(domain.state) %> | <%= link_to_edit edit_domain_path(domain) %> | <%= link_to_destroy domain, method: :delete, data: { confirm: 'Are you sure?' } if domain.can_remove? %> |
<%= link_to 'Add Domain', new_domain_path(group_id: @group.id), class: 'btn btn-primary' %>
Member | Controls |
---|---|
<%= membership.user.email %><%= " (you)" if current_user == membership.user %> | <%= link_to_destroy destroy_member_group_path(@group, membership.user_id), method: :delete %> |
<%= bootstrap_form_tag(url: create_member_group_path(@group), layout: :inline) do |f| %> <%= f.text_field :email, prepend: 'Add Member', hide_label: true, id: 'js-search-member', data: { group: @group.id } %> <%= f.submit 'Add', class: 'btn btn-primary' %> <% end %>