plugins/ShinyCMS/app/views/shinycms/admin/users/edit.html.erb
<%= form_for @user, url: shinycms.user_path( @user ), method: :put do |f| %>
<p>
<%= f.label :username %>
<br><%= f.text_field :username %>
</p>
<p>
<%= f.label :email %>
<br><%= f.text_field :email %>
</p>
<p>
<%= f.label :password %>
<br><%= f.text_field :password %>
</p>
<p>
<%= f.label :admin_notes %>
<br><%= f.text_area :admin_notes %>
</p>
<% if @user.capabilities.present? || current_user_can?( :add, :admin_users ) %>
<%= render partial: 'edit_capabilities', locals: { f: f } %>
<% end %>
<p class="top-margin">
<%= submit_tag t( 'update' ) %>
</p>
<% end %>