Name: | <%= text_field_tag 'role[name]', @role.name %> |
Permissions: | <% @permissions.each do |permission| %>
<% if @role.has_permission?(permission.title) %>
<% end %> |
<% else %>
<% end %>
<%= submit_tag %> |