<%= form_for @role do |f| %>
<%= f.label :name, "Nome" %>
<%= f.text_field :name %>

Funcionalidades

<%= f.fields_for :authorizations do |b| %> <%= render 'authorization_fields', :f => b %> <% end %>
<%= f.submit %>
or <%= link_to :cancel, roles_path %>
<% end %>