Sha256: 94e7ed4a876b732459ba78546a7f7f474b515dc6b0f283f7e91622bc88feb5c2

Contents?: true

Size: 559 Bytes

Versions: 3

Compression:

Stored size: 559 Bytes

Contents

<h2> Adicionar perfis ao Usuário </h2>

Usuário <%= @user.name %>

Grupo <%= @group.name %>

<%= form_for @group_user, url: permissions_path(@group_user) do |f| %>
  <div class="group_users">
    <h3>Perfil</h3>

  	<%= f.fields_for :role_group_users do |b| %>
  		<%= render "role_group_user_fields", f: b %>
  	<% end %>

    <div class="links">
      <%= link_to_add_association 'Adicionar perfil', f, :role_group_users %>
    </div>
  </div>

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
curupira-0.1.7 app/views/curupira/users/permission.html.erb
curupira-0.1.6 app/views/curupira/users/permission.html.erb
curupira-0.1.4 app/views/curupira/users/permission.html.erb