Sha256: c081fb9fc04438cab99a3f89e3ea6119d5ff99f5d62d33ac601da1d1e5c4d5e7

Contents?: true

Size: 236 Bytes

Versions: 11

Compression:

Stored size: 236 Bytes

Contents

- object_id = (f.object.persisted? ? f.object.object_id : "new_association_#{f.object.object_id}").to_s + "_#{field}"
= f.hidden_field field, id: "#{object_id}_input"
%trix-editor.text-input.trix-content{ input: "#{object_id}_input" }

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
spina-2.0.2 app/views/spina/admin/shared/_rich_text_field.html.haml
spina-2.0.1 app/views/spina/admin/shared/_rich_text_field.html.haml
spina-2.0.0 app/views/spina/admin/shared/_rich_text_field.html.haml
spina-2.0.0.beta app/views/spina/admin/shared/_rich_text_field.html.haml
spina-2.0.0.alpha app/views/spina/admin/shared/_rich_text_field.html.haml
spina-1.2.0 app/views/spina/admin/shared/_rich_text_field.html.haml
spina-1.1.4 app/views/spina/admin/shared/_rich_text_field.html.haml
spina-1.1.3 app/views/spina/admin/shared/_rich_text_field.html.haml
spina-1.1.2 app/views/spina/admin/shared/_rich_text_field.html.haml
spina-1.1.1 app/views/spina/admin/shared/_rich_text_field.html.haml
spina-1.1.0 app/views/spina/admin/shared/_rich_text_field.html.haml