Sha256: 1d099b2ece7ee2fc1b9a87af8250671bfb64c0e6e2d99ca0302220ad34d29837

Contents?: true

Size: 959 Bytes

Versions: 1

Compression:

Stored size: 959 Bytes

Contents

= form_for @user, builder: PushType::FormBuilder 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
        - @user.fields.each do |key, field|
          = f.custom_field_row field

  .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

1 entries across 1 versions & 1 rubygems

Version Path
push_type_admin-0.1.0.beta3 app/views/push_type/users/_form.html.haml