Sha256: 54b234652aac1e06de32b03eab4cf38f00fabee4669c06a5fa1071bc0fcc0fcd

Contents?: true

Size: 963 Bytes

Versions: 5

Compression:

Stored size: 963 Bytes

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|
            = render_custom_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'
          .delete-link= link_to 'Delete user', push_type.user_path(@user), method: 'delete', data: { confirm: true }
            
            

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
push_type_admin-0.2.1 app/views/push_type/users/_form.html.haml
push_type_admin-0.2.0 app/views/push_type/users/_form.html.haml
push_type_admin-0.2.0.beta2 app/views/push_type/users/_form.html.haml
push_type_admin-0.1.1 app/views/push_type/users/_form.html.haml
push_type_admin-0.1.0 app/views/push_type/users/_form.html.haml