Sha256: 81417c652029c3f0f93170d0763b08b03d76b8a70e742b61e68e246864762554

Contents?: true

Size: 982 Bytes

Versions: 12

Compression:

Stored size: 982 Bytes

Contents

.nest-form-header
  = haml_partial :reference_list_input_row,
                 name_field: header_field("Link target"),
                 options_field: header_field("Link text"),
                 postfix: "}}",
                 prefix: "{{",
                 show_edit_button: false
%ul{class: ul_classes}
  - items.each.with_index do |(reference, title), index|
    %li.pointer-li.mb-2._nest-form{"data-index": index}
      = haml_partial :reference_list_input_row,
                     name_field: name_autocomplete_field(reference, "_reference pointer-item-text form-control group-text-middle"),
                     options_field: text_field_tag("pointer_item_title", title, class: "_title pointer-item-text form-control group-text-middle"),
                     prefix: "[[",
                     postfix: "]]",
                     show_edit_button: false

%span.input-group
  %button._pointer-item-add.btn.btn-secondary{ type: "submit" }
    = icon_tag "add"
    add another

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
card-mod-list-0.18.1 set/type/link_list_input.haml
card-mod-list-0.18.0 set/type/link_list_input.haml
card-mod-list-0.17.0 set/type/link_list_input.haml
card-mod-list-0.16.0 set/type/link_list_input.haml
card-mod-list-0.15.6 set/type/link_list_input.haml
card-mod-list-0.15.5 set/type/link_list_input.haml
card-mod-list-0.15.4 set/type/link_list_input.haml
card-mod-list-0.15.3 set/type/link_list_input.haml
card-mod-list-0.15.2.pre1 set/type/link_list_input.haml
card-mod-list-0.15.1.1 set/type/link_list_input.haml
card-mod-list-0.15.1 set/type/link_list_input.haml
card-mod-list-0.15.0 set/type/link_list_input.haml