This repository has been archived on 2020-05-27. You can view files and clone it, but cannot push or open issues/pull-requests.
barleysodas/app/views/roles/edit.rhtml

13 lines
347 B
Plaintext
Raw Permalink Normal View History

<%= error_messages_for :role %>
<% form_for(:role, :url => role_path(@role.code), :html => { :id => 'role_form', :method => :put }) do |f| %>
<%= render :partial => 'role_form' %>
<p>
<%= submit_tag "Update" %>
</p>
<% end %>
<% content_for :sidebar do -%>
<%= new_role_link -%><br />
<%= show_role_link(@role) -%><br />
<% end -%>