Sha256: a3d92f402d3f82fd0fcd223665b6a38463275923d15107d1fbe49c909e583a36
Contents?: true
Size: 731 Bytes
Versions: 15
Compression:
Stored size: 731 Bytes
Contents
.item.row data-id=select_option._id .inner-row.col-md-12 .draggable i.fa.fa-bars .text.editable span = select_option.name = text_field_tag 'select_options[][name]', select_option.name, class: 'hide' | a.apply.btn.btn-sm.btn-primary.hide= t('.apply') | a.cancel.btn.btn-default.btn-sm.hide= t('.cancel') .buttons = link_to t('.edit'), '#', class: 'btn btn-sm btn-primary edit' | = link_to '#', class: 'delete' do i.far.fa-trash-alt - if select_option.persisted? = hidden_field_tag 'select_options[][_id]', select_option._id = hidden_field_tag 'select_options[][_destroy]', '', class: 'mark-as-destroyed'
Version data entries
15 entries across 15 versions & 1 rubygems