This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
2011-02-01 07:12:23 +00:00
|
|
|
<h1><%= t("admin.new_user_#{@attribute}") %></h1>
|
2011-04-13 10:19:51 +00:00
|
|
|
|
2011-02-01 02:46:26 +00:00
|
|
|
<fieldset id='field_set_attributes'>
|
2011-04-13 10:19:51 +00:00
|
|
|
<legend>
|
2011-02-01 07:12:23 +00:00
|
|
|
<%= t("admin.user_#{@attribute}")%>
|
2011-04-13 10:19:51 +00:00
|
|
|
</legend>
|
|
|
|
|
2011-02-01 07:12:23 +00:00
|
|
|
<%= form_for @user_attribute_model, :url => eval("admin_user_#{@attribute}_models_path") do |f| %>
|
2011-04-13 10:19:51 +00:00
|
|
|
<%= f.error_messages %>
|
|
|
|
|
2011-02-01 07:12:23 +00:00
|
|
|
<%= render :partial => "admin/user_attribute_models/form", :locals => { :f => f, :is_new => true } %>
|
2011-04-13 10:19:51 +00:00
|
|
|
|
|
|
|
<p>
|
|
|
|
<%= f.submit t('create') %> <%= link_back %>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<% end -%>
|
|
|
|
|
|
|
|
</fieldset>
|