19 lines
463 B
Plaintext
19 lines
463 B
Plaintext
<% content_for :secondary do %>
|
|
<ul class="list">
|
|
<li><%= link_to t('admin.new_user'), new_admin_user_path, :class => 'button positive' %></li>
|
|
</ul>
|
|
<% end -%>
|
|
|
|
<h1><%= t('admin.user_panel') %></h1>
|
|
|
|
<%= form_for @user, :url => admin_users_path, :html => { :multipart => true } do |f| %>
|
|
<%= f.error_messages %>
|
|
<%= render :partial => 'form', :locals => { :f => f } %>
|
|
|
|
<p>
|
|
<%= f.submit t(:create) %> <%= link_back %>
|
|
</p>
|
|
|
|
<% end -%>
|
|
|