Sha256: c45164b24c3abd5a74f99ecb385d7816ff7f5ce0243312c6c3bf07be8aecc04c

Contents?: true

Size: 762 Bytes

Versions: 24

Compression:

Stored size: 762 Bytes

Contents

.nested-fields.row
  .col-lg-5
    = f.input :association_type, label: t('capsule.attributes.association_type'), collection: f.object.relationships.map { |v| [t("keppler_capsules.associations.#{v}"), v] }, include_blank: false
  .col-lg-3
    = f.input :capsule_name, label: t('capsule.attributes.capsule_name'), collection: f.object.capsules_valids.map(&:name), include_blank: false
  .col-lg-2
    = f.input :dependention_destroy, label: t('capsule.attributes.dependention_destroy'), include_blank: false, collection: f.object.dependentions.map { |v| [t("keppler_capsules.dependent.#{v[1]}"), v[0]] }
  .col-lg-1
    = link_to_remove_association "<button class='btn btn-default btn-delete-field'><i class='icon-trash'></i></button>".html_safe, f
    .clearfix

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
keppler-2.1.2 installer/core/rockets/keppler_capsules/app/views/keppler_capsules/admin/capsules/_capsule_association_fields.html.haml
keppler-2.1.1 installer/core/rockets/keppler_capsules/app/views/keppler_capsules/admin/capsules/_capsule_association_fields.html.haml
keppler-2.1.pre.p1 installer/core/rockets/keppler_capsules/app/views/keppler_capsules/admin/capsules/_capsule_association_fields.html.haml
keppler-2.1 installer/core/rockets/keppler_capsules/app/views/keppler_capsules/admin/capsules/_capsule_association_fields.html.haml