<%= t :'.instructions' %>
<%= Spotlight::Engine.user_class.human_attribute_name(:email) %> | |
---|---|
<%= user.email %> <%= t('.pending') %> | <%= link_to(t('.destroy'), admin_user_path(user), method: :delete, class: 'btn btn-danger pull-right') unless user == current_user %> |
<%= f.email_field :email, hide_label: true, data: { behavior: 'check-user-existence', 'user-exists-url': spotlight.exists_admin_users_path } %> |
<%= cancel_link f.object, '#', class: 'btn btn-link', data: { behavior: 'cancel-edit' } %>
<%= f.submit t('.save'), class: 'btn btn-primary'%>
|
<%= link_to(t('.add'), 'javascript:;', class: 'btn btn-default', data: { behavior: 'new-user' }) %>