This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
2010-03-04 08:33:26 +00:00
|
|
|
<% content_for :secondary do %>
|
|
|
|
<ul class="list">
|
2011-11-17 12:02:58 +00:00
|
|
|
<li><%= link_to t('admin.new_user'), new_admin_user_path, :class => 'button positive' %></li>
|
2010-03-04 08:33:26 +00:00
|
|
|
</ul>
|
|
|
|
<% end -%>
|
|
|
|
|
2011-02-08 06:51:49 +00:00
|
|
|
<%= flash_messages %>
|
|
|
|
|
2011-11-17 12:02:58 +00:00
|
|
|
<h1><%= t('admin.user_panel') %></h1>
|
2010-03-04 08:33:26 +00:00
|
|
|
|
2011-11-17 12:02:58 +00:00
|
|
|
<%= form_for @user, :url => admin_user_path(@user), :html => { :multipart => true } do |f| %>
|
2011-04-13 10:19:51 +00:00
|
|
|
<%= f.error_messages %>
|
2010-03-04 08:33:26 +00:00
|
|
|
<%= render :partial => 'form', :locals => { :f => f } %>
|
|
|
|
|
|
|
|
<p>
|
2011-04-13 10:19:51 +00:00
|
|
|
<%= f.submit t(:update) %> <%= link_back %>
|
2010-03-04 08:33:26 +00:00
|
|
|
</p>
|
|
|
|
|
|
|
|
<% end -%>
|