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

19 lines
564 B
Plaintext
Raw Normal View History

2011-11-19 13:47:18 +00:00
<% content_for :body_id do %><%= "#{@attribute}s_list" %><% end -%>
2011-11-18 08:43:14 +00:00
<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 } %>
2011-11-19 13:47:18 +00:00
<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 %>
2011-11-18 08:43:14 +00:00
</div>
<% end -%>
2011-11-18 08:43:14 +00:00
</div>