Sha256: 2a658f50183af3ff884ca57283ef0eed66f11f7584ffe0bc93367dcb3d347fc6
Contents?: true
Size: 1015 Bytes
Versions: 25
Compression:
Stored size: 1015 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, {}, { data: { "revealer" => true, "sub-type" => "FormFieldRevealer", "revealer-children-id" => dom_id(ptcet, :revealer) }} %> <%= f.hidden_field :post_type_id %> <div data-revealer-target="<%= dom_id(ptcet, :revealer) %>"></div> <div data-revealer_id="<%= dom_id(ptcet, :revealer) %>" data-revealer-triggers="['<%= 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 data-revealer_id="<%= dom_id(ptcet, :revealer) %>" data-revealer-triggers="['<%= 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
25 entries across 25 versions & 1 rubygems