Sha256: 08177d37f0351693f1d4c66324cc32788c1ac7913603c2874f44ac6c5967cba0

Contents?: true

Size: 534 Bytes

Versions: 7

Compression:

Stored size: 534 Bytes

Contents

<%= form_for @role do |f| %>
  <div class="field">
    <%= f.label :name, "Nome" %><br>
    <%= f.text_field :name %>
  </div>

  <div class="features">
    <h3>Funcionalidades</h3>

    <%= f.fields_for :authorizations do |b| %>
      <%= render 'authorization_fields', :f => b %>
    <% end %>

    <div class="links">
      <%= link_to_add_association 'Adicionar funcionalidade', f, :authorizations %>
    </div>
  </div>

  <div class="actions">
    <%= f.submit %><br>
    or <%= link_to :cancel, roles_path %>
  </div>
<% end %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
curupira-0.1.7 app/views/curupira/roles/_form.html.erb
curupira-0.1.6 app/views/curupira/roles/_form.html.erb
curupira-0.1.4 app/views/curupira/roles/_form.html.erb
curupira-0.1.3 app/views/curupira/roles/_form.html.erb
curupira-0.1.2 app/views/curupira/roles/_form.html.erb
curupira-0.1.1 app/views/curupira/roles/_form.html.erb
curupira-0.1.0 app/views/curupira/roles/_form.html.erb