Sha256: c14bfb81a514f97ad224f466eaebc278a92efcf1462576e7205205b9184ea1d0

Contents?: true

Size: 324 Bytes

Versions: 6

Compression:

Stored size: 324 Bytes

Contents

= simple_form_for [:admin, item] do |f|

  - model_params.each do |field|
    = bootstrap_input(f, field)

  - model_associations.each do |association|
    = f.association association,
      wrapper_html: { class: 'form-group' },
      input_html:   { class: 'form-control' }

  = f.button :submit, class: 'btn btn-success'

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
theblog-0.0.2.3 app/views/theblog/admin/_form.html.haml
theblog-0.0.2.2 app/views/theblog/admin/_form.html.haml
theblog-0.0.2.1 app/views/theblog/admin/_form.html.haml
theblog-0.0.2 app/views/theblog/admin/_form.html.haml
theblog-0.0.1.1 app/views/theblog/admin/_form.html.haml
theblog-0.0.1 app/views/theblog/admin/_form.html.haml