Sha256: c943a2cd5d64b07e6b3cffd916954c297f7e50cf797fa304afe0c38aa9a9a817
Contents?: true
Size: 907 Bytes
Versions: 19
Compression:
Stored size: 907 Bytes
Contents
<%= f.label :label %> <%= f.text_field :label %> <%= f.label :content_element_type_id, "Type" %> <%= f.collection_select :content_element_type_id, Pulitzer::ContentElementType.all, :id, :name, {}, revealer(dom_id(ptcet, :revealer), highlander: true) %> <%= f.hidden_field :post_type_id %> <div <%= revealer_target_attrs(dom_id(ptcet, :revealer)) %>></div> <div <%= revealer_option_attrs(dom_id(ptcet, :revealer), trigger: Pulitzer::ContentElementType.find_by(name: 'Image').id) %> > <%= f.label :height %> <%= f.text_field :height, placeholder: 'Height' %> <%= f.label :width %> <%= f.text_field :width, placeholder: 'Width' %> </div> <div <%= revealer_option_attrs(dom_id(ptcet, :revealer), trigger: Pulitzer::ContentElementType.find_by(name: 'Text').id) %> > <%= f.label :text_editor, "Text editor" %> <%= f.select :text_editor, Pulitzer.text_editor_toolbars.map { |t| t[:name] } %> </div>
Version data entries
19 entries across 19 versions & 1 rubygems