Sha256: b31883c3e6877f660c66662ce53c1454765f026d5c779a9cbcda791d5918a545
Contents?: true
Size: 954 Bytes
Versions: 3
Compression:
Stored size: 954 Bytes
Contents
<%= form_for @user do |f| %> <div class="field"> <%= f.label :email, "Email" %><br> <%= f.email_field :email %> </div> <div class="field"> <%= f.label :name, "Nome completo" %><br> <%= f.text_field :name %> </div> <div class="field"> <%= f.label :username, "Nome de usuário" %><br> <%= f.text_field :username %> </div> <div class="field"> <%= f.label :password, "Senha" %><br> <%= f.password_field :password %> </div> <div class="field"> <%= f.label :active, "Ativo" %><br> <%= f.check_box :active %> </div> <div class="group_users"> <h3>Grupos</h3> <%= f.fields_for :group_users do |b| %> <%= render 'group_user_fields', f: b %> <% end %> <div class="links"> <%= link_to_add_association 'Adicionar grupo', f, :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/_form.html.erb |
curupira-0.1.6 | app/views/curupira/users/_form.html.erb |
curupira-0.1.4 | app/views/curupira/users/_form.html.erb |