Sha256: 6fe3a9915d2a705943604098ed741ba344b0210201f214c5ae25d185b24722a1
Contents?: true
Size: 525 Bytes
Versions: 8
Compression:
Stored size: 525 Bytes
Contents
%td{style: "position: relative;", colspan: controller.default_colspan} Editing - if object.try(:to_label) = object.to_label - elsif object.try(:name) = object.name - else (no name) = form_with model: object, url: url do |f| = render partial: "form", locals: {singular.to_sym => object, f: f} .row .col-md-12 = f.submit "Save", class: "btn btn-primary pull-right" %i.fa.fa-times-circle.fa-2x{ 'data-name' => singular, 'data-row-id' => object.id, 'data-role' => 'close-button'}
Version data entries
8 entries across 8 versions & 1 rubygems