orbit-basic/app/views/admin/user_attribute_models/edit.html.erb

21 lines
784 B
Plaintext
Raw Normal View History

2011-11-18 08:43:14 +00:00
<% content_for :body_id do %>roles_list<% end -%>
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-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>
<% end -%>
2011-11-18 08:43:14 +00:00
</div>