Sha256: 1c4021216bbd850d3a555d00c20d45b7d41b54bc12cfb5a369d44d26b6d8c7fb
Contents?: true
Size: 432 Bytes
Versions: 6
Compression:
Stored size: 432 Bytes
Contents
.horizontal-form-label = f.object.title .horizontal-form-content = f.fields_for :partable, f.object.partable do |ff| - object_id = (ff.object.persisted? ? ff.object.object_id : "new_association_#{ff.object.object_id}").to_s + "_content" = ff.hidden_field :content, id: "#{object_id}_input", value: ff.object.content(fallback: false, default: nil) %trix-editor.text-input.trix-content{ input: "#{object_id}_input" }
Version data entries
6 entries across 6 versions & 1 rubygems