%= form_for(@role) do |f| %>
<% if @role.errors.any? %>
<%= pluralize(@role.errors.count, "error") %> prohibited this role from being saved:
<% @role.errors.full_messages.each do |message| %>
- <%= message %>
<% end %>
<% end %>
<%= f.label :role_group %>
<%= f.text_field :role_group %>
<%= f.label :permissions %>
<%= f.text_field :permissions %>
<%= f.label :restrictions %>
<%= f.text_field :restrictions %>
<%= f.submit %>
<% end %>