Sha256: 26d31f89b90c2950b0ff603a967af53f9d79219d6e844e3d50afbd5f731629d2

Contents?: true

Size: 689 Bytes

Versions: 23

Compression:

Stored size: 689 Bytes

Contents

== render 'cm_admin/main/top_navbar'
.form-page
  .form-page__inner
    .form-wrapper
      - if @ar_object.errors.present?
        .flag-alert.mb-4
          p.alert-header
              span
                i.fa.fa-exclamation-triangle
              | Attention
          .alert-body
            p.body-title 
              | Error saving #{@ar_object.class}
            p.body-info
              ul
                - @ar_object.errors.full_messages.each do |error_message|
                  li = error_message
      .form-container
        p.form-title 
          | Section heading
        .form-container__inner
          = generate_form(@ar_object.class.name.constantize.new, @model)

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
cm-admin-0.7.2 app/views/cm_admin/main/new.html.slim
cm-admin-0.7.1 app/views/cm_admin/main/new.html.slim
cm-admin-0.7.0 app/views/cm_admin/main/new.html.slim