2011-11-18 08:43:14 +00:00
|
|
|
<% content_for :body_id do %>roles_list<% end -%>
|
2011-04-13 10:19:51 +00:00
|
|
|
|
2011-11-18 08:43:14 +00:00
|
|
|
<% content_for :secondary do %>
|
|
|
|
<div class="member_setup">
|
|
|
|
<h1>Member Setup</h1>
|
|
|
|
<ul class="list">
|
|
|
|
<li class="set_1"><%= link_to content_tag(:span, t('admin.list_users')), admin_users_path %></li>
|
|
|
|
<li class="set_2"><%= link_to content_tag(:span, t('admin.list_user_roles')), admin_user_role_models_path %></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<% end -%>
|
2011-04-13 10:19:51 +00:00
|
|
|
|
2011-11-18 08:43:14 +00:00
|
|
|
<div id="porfile">
|
|
|
|
<%= form_for @user_attribute_model, :url => eval("admin_user_#{@attribute}_model_path(@user_role_model)") do |f| %>
|
|
|
|
<%= f.error_messages %>
|
|
|
|
<%= render :partial => "admin/user_attribute_models/form", :locals => { :f => f, :is_new => false } %>
|
|
|
|
<div class='buttom clear'>
|
|
|
|
<%= f.submit t('update') %> <%= link_back %>
|
|
|
|
</div>
|
2011-04-13 10:19:51 +00:00
|
|
|
<% end -%>
|
2011-11-18 08:43:14 +00:00
|
|
|
</div>
|