Sha256: 3c399847b1d370ccac00e02be7fd0849df9a76efb0d8efc950df49742a1129f5
Contents?: true
Size: 718 Bytes
Versions: 3
Compression:
Stored size: 718 Bytes
Contents
- link_selectable = f.object.linkable_exists? fieldset.navigation-item class="#{'hidden' if f.object._destroy}" .row .col-sm-3 = f.label :name = f.text_field :name .col-sm-3 = f.label :linkable_type = f.select :linkable_type, linkable_type_options, {}, class: :linkable_type .col-sm-3.url class="#{'hidden' if link_selectable}" = f.label :url = f.text_field :url .col-sm-3.linkable_id class="#{'hidden' unless link_selectable}" = f.select :linkable_id, f.object.linkable_id_options .col-sm-3 = f.hidden_field :_destroy, class: :destroy button.btn.btn-default.pull-right.remove_fields type="button" = Comable.t('actions.destroy')
Version data entries
3 entries across 3 versions & 1 rubygems