Sha256: f21989940ccae162b370bb0664e86cfc62c5f47f5f4c5268cf35039ae1a78273

Contents?: true

Size: 641 Bytes

Versions: 9

Compression:

Stored size: 641 Bytes

Contents

- 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|
      - nested_in = nil unless nested_in
      - if field.nested_form?
        = render "/carnival/shared/form/nested_form", f: f, field: field, model_presenter: model_presenter, model_object: model_object, action: action
      - else
        - if model_presenter.must_render_field?(nested_in, field, model_object)
          = render "/carnival/shared/form/field", f: f, field: field, model_presenter: model_presenter

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
carnival-0.1.5 app/views/carnival/shared/form/_inner_form.html.haml
carnival-0.1.3 app/views/carnival/shared/form/_inner_form.html.haml
carnival-0.1.2 app/views/carnival/shared/form/_inner_form.html.haml
carnival-0.1.1 app/views/carnival/shared/form/_inner_form.html.haml
carnival-0.1.0 app/views/carnival/shared/form/_inner_form.html.haml
carnival-0.0.59 app/views/carnival/shared/form/_inner_form.html.haml
carnival-0.0.58 app/views/carnival/shared/form/_inner_form.html.haml
carnival-0.0.57 app/views/carnival/shared/form/_inner_form.html.haml
carnival-0.0.56 app/views/carnival/shared/form/_inner_form.html.haml