Sha256: ce3743ce16535984c3476e7c504a720836e30ec4899af1f4ff91ed61d6c547e3

Contents?: true

Size: 840 Bytes

Versions: 24

Compression:

Stored size: 840 Bytes

Contents

.col-lg-12
  = simple_form_for @language, url: admin_languages_language_path(@language) do |f|
    .box.slice-box
      .box-header.with-border
        %h3.box-title= t("keppler_capsules.form.fields")
      .box-body
        %table.table.table-bordered
          %tbody
            .form-padding
              .col-xs-12
                = f.simple_fields_for :fields do |field|
                  - if field.object.key
                    = render 'field_fields_edit', f: field
                  - else
                    = render 'field_fields', f: field
                .links
                  = link_to_add_association "<button class='btn btn-default'> + AƱadir atributo </button>".html_safe, f, :fields
      .box-footer
        .pull-right
          = f.button :submit, t('keppler.actions.save'), name: '_save', class: 'btn-primary'

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
keppler-2.1.2 installer/core/rockets/keppler_languages/app/views/keppler_languages/admin/languages/add_fields.html.haml
keppler-2.1.1 installer/core/rockets/keppler_languages/app/views/keppler_languages/admin/languages/add_fields.html.haml
keppler-2.1.pre.p1 installer/core/rockets/keppler_languages/app/views/keppler_languages/admin/languages/add_fields.html.haml
keppler-2.1 installer/core/rockets/keppler_languages/app/views/keppler_languages/admin/languages/add_fields.html.haml