20 lines
546 B
Plaintext
20 lines
546 B
Plaintext
<h1><%= t("admin.editing_user_#{@attribute}") %>: <%= @user_attribute_model.key %></h1>
|
|
|
|
<fieldset>
|
|
<legend>
|
|
<%= t("admin.user_#{@attribute}")%>
|
|
</legend>
|
|
|
|
<%= form_for @user_attribute_model, :url => eval("admin_user_#{@attribute}_model_path(@user_role_model)") do |f| %>
|
|
<%= f.error_messages %>
|
|
|
|
<%= render :partial => "admin/user_attribute_models/form", :locals => { :f => f, :is_new => false } %>
|
|
|
|
<p>
|
|
<%= f.submit t('update') %> <%= link_back %>
|
|
</p>
|
|
|
|
<% end -%>
|
|
|
|
</fieldset>
|