2011-12-10 10:03:32 +00:00
|
|
|
<% content_for :secondary do %>
|
|
|
|
<%= render 'admin/users/side_bar' %>
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<div id="porfile">
|
|
|
|
<%= form_for @user_attribute_model, :url => eval("admin_user_#{@attribute}_models_path") do |f| %>
|
|
|
|
<%= f.error_messages %>
|
|
|
|
<%= render :partial => "admin/user_attribute_models/form", :locals => { :f => f, :is_new => true } %>
|
|
|
|
<div class="button_bar">
|
|
|
|
<%= link_back %>
|
|
|
|
<%= link_to t('create'), "#", :onclick=>"$('#new_user_attribute_model').submit()" %>
|
|
|
|
</div>
|
|
|
|
<% end -%>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|