Sha256: f7bbc1704a6812d6e169559ea100f2ecad80aead944f29818dcd0fd1b5d786fe

Contents?: true

Size: 486 Bytes

Versions: 3

Compression:

Stored size: 486 Bytes

Contents

= simple_form_for(model_object, {:html => {:class => 'formframe container-fluid'}}) do |f|
  - if model_object.errors.any?
    #error_explanation
      %ul
        - model_object.errors.full_messages.each do |msg|
          %li= msg
  - @model_presenter.form_for(action).lines.each do |line|
    .row
      - line.each do |field|
        = render "/carnival/shared/form/field", f: f, field: field

  .submit_button
    = f.submit button, disable_with: t('please_wait'), class: 'submit'

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
carnival-0.0.26 app/views/carnival/shared/form/_form.html.haml
carnival-0.0.11 app/views/carnival/shared/form/_form.html.haml
carnival-0.0.10 app/views/carnival/shared/form/_form.html.haml