Sha256: 9d20bb21105aae4e6d27d6d36e2fd596b307fba5e3eedf7f2756e10fd2d5a228

Contents?: true

Size: 1.09 KB

Versions: 21

Compression:

Stored size: 1.09 KB

Contents

= form_for @user do |f|
  .large-8.columns
    .container
      .head
        .left.btn= link_to ficon(:previous), push_type.users_path
        .title= yield :title
      .body.padded
        .row.title
          .columns
            = f.label :name
            = f.text_field :name
        .row.email
          .columns
            = f.label :email
            = f.email_field :email

        .row.custom-fields
          - @user.fields.each do |key, field|
            %div{ class: field_classes(field) }
              = f.label field.name, field.label
              = render_field field, f

  .large-4.columns
    .side-panel{ :'side-panel' => true }
      .padded
        .meta-table= render 'meta_table'
      .submit.text-center
        - if @user.new_record?
          %button.button.success.radius= ficon :check, 'Create user'
        - else
          %button.button.radius= ficon :check, 'Update user'
          - unless @user == push_type_user
            .text-button.alert
              = link_to 'Delete user', push_type.user_path(@user), method: 'delete', data: { confirm: true }
            
            

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
push_type_admin-0.9.5 app/views/push_type/users/_form.html.haml
push_type_admin-0.9.3 app/views/push_type/users/_form.html.haml
push_type_admin-0.9.2 app/views/push_type/users/_form.html.haml
push_type_admin-0.9.1 app/views/push_type/users/_form.html.haml
push_type_admin-0.9.0 app/views/push_type/users/_form.html.haml
push_type_admin-0.9.0.beta.4 app/views/push_type/users/_form.html.haml
push_type_admin-0.9.0.beta.3 app/views/push_type/users/_form.html.haml
push_type_admin-0.9.0.beta.2 app/views/push_type/users/_form.html.haml
push_type_admin-0.8.2 app/views/push_type/users/_form.html.haml
push_type_admin-0.8.1 app/views/push_type/users/_form.html.haml
push_type_admin-0.8.0 app/views/push_type/users/_form.html.haml
push_type_admin-0.8.0.beta.3 app/views/push_type/users/_form.html.haml
push_type_admin-0.8.0.beta.2 app/views/push_type/users/_form.html.haml
push_type_admin-0.8.0.beta.1 app/views/push_type/users/_form.html.haml
push_type_admin-0.7.0 app/views/push_type/users/_form.html.haml
push_type_admin-0.7.0.beta.1 app/views/push_type/users/_form.html.haml
push_type_admin-0.6.0 app/views/push_type/users/_form.html.haml
push_type_admin-0.6.0.beta.4 app/views/push_type/users/_form.html.haml
push_type_admin-0.6.0.beta.3 app/views/push_type/users/_form.html.haml
push_type_admin-0.6.0.beta.2 app/views/push_type/users/_form.html.haml