20 lines
517 B
Plaintext
20 lines
517 B
Plaintext
<h1><%= t("admin.new_user_#{@attribute}") %></h1>
|
|
|
|
<fieldset id='field_set_attributes'>
|
|
<legend>
|
|
<%= t("admin.user_#{@attribute}")%>
|
|
</legend>
|
|
|
|
<%= 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 } %>
|
|
|
|
<p>
|
|
<%= f.submit t('create') %> <%= link_back %>
|
|
</p>
|
|
|
|
<% end -%>
|
|
|
|
</fieldset>
|