2011-02-01 02:46:26 +00:00
|
|
|
<h1><%= t('admin.editing_user_role') %>: <%= @user_role_model.key %></h1>
|
2011-04-13 10:19:51 +00:00
|
|
|
|
|
|
|
<fieldset>
|
|
|
|
<legend>
|
2011-02-01 02:46:26 +00:00
|
|
|
<%= t('admin.user_role')%>
|
2011-04-13 10:19:51 +00:00
|
|
|
</legend>
|
|
|
|
|
2011-02-01 02:46:26 +00:00
|
|
|
<%= form_for @user_role_model, :url => admin_user_role_model_path(@user_role_model) do |f| %>
|
2011-04-13 10:19:51 +00:00
|
|
|
<%= f.error_messages %>
|
|
|
|
|
|
|
|
<%= render :partial => "form", :locals => { :f => f, :is_new => false } %>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
<%= f.submit t('update') %> <%= link_back %>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<% end -%>
|
|
|
|
|
|
|
|
</fieldset>
|