20 lines
473 B
Plaintext
20 lines
473 B
Plaintext
<h1><%= t('admin.editing_user_role') %>: <%= @user_role_model.key %></h1>
|
|
|
|
<fieldset>
|
|
<legend>
|
|
<%= t('admin.user_role')%>
|
|
</legend>
|
|
|
|
<%= form_for @user_role_model, :url => admin_user_role_model_path(@user_role_model) do |f| %>
|
|
<%= f.error_messages %>
|
|
|
|
<%= render :partial => "form", :locals => { :f => f, :is_new => false } %>
|
|
|
|
<p>
|
|
<%= f.submit t('update') %> <%= link_back %>
|
|
</p>
|
|
|
|
<% end -%>
|
|
|
|
</fieldset>
|