Sha256: fd77bdc843b832963d68c1318af895b3613e03cde885747ea5621f1d64bf7e3f

Contents?: true

Size: 375 Bytes

Versions: 6

Compression:

Stored size: 375 Bytes

Contents

- array_of_resources = [:admix]
- if defined? parent_type
  - array_of_resources << parent_type
- array_of_resources << resource

= simple_form_for array_of_resources, :html => { :class => 'form-admix' }, wrapper: :bootstrap  do |f|
  
  = f.error_notification

  = render partial: "form_fields", locals: {f: f}

  .form-actions
    = f.button :submit, class: 'btn-primary'

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
mix-rails-0.23.1 admix/app/views/admix/inherited/_form.html.haml
admix-0.23.1 app/views/admix/inherited/_form.html.haml
mix-rails-0.23.0 admix/app/views/admix/inherited/_form.html.haml
admix-0.23.0 app/views/admix/inherited/_form.html.haml
mix-rails-0.22.0 admix/app/views/admix/inherited/_form.html.haml
admix-0.22.0 app/views/admix/inherited/_form.html.haml