19 lines
564 B
Plaintext
19 lines
564 B
Plaintext
<% content_for :body_id do %><%= "#{@attribute}s_list" %><% 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 id="create" class='buttom clear'>
|
|
<%= link_to t('create'), "#", :onclick=>"$('#new_user_attribute_model').submit()" %>
|
|
</div>
|
|
<div id="back" class='buttom clear'>
|
|
<%= link_back %>
|
|
</div>
|
|
<% end -%>
|
|
</div>
|
|
|
|
|
|
|
|
|