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

Version Path
pulitzer-0.5.1 app/views/pulitzer/post_type_content_element_types/_form_fields.html.erb
pulitzer-0.5.0 app/views/pulitzer/post_type_content_element_types/_form_fields.html.erb
pulitzer-0.4.16 app/views/pulitzer/post_type_content_element_types/_form_fields.html.erb
pulitzer-0.4.15 app/views/pulitzer/post_type_content_element_types/_form_fields.html.erb
pulitzer-0.4.14 app/views/pulitzer/post_type_content_element_types/_form_fields.html.erb
pulitzer-0.4.13 app/views/pulitzer/post_type_content_element_types/_form_fields.html.erb
pulitzer-0.4.12 app/views/pulitzer/post_type_content_element_types/_form_fields.html.erb
pulitzer-0.4.11 app/views/pulitzer/post_type_content_element_types/_form_fields.html.erb
pulitzer-0.4.10 app/views/pulitzer/post_type_content_element_types/_form_fields.html.erb
pulitzer-0.4.9 app/views/pulitzer/post_type_content_element_types/_form_fields.html.erb
pulitzer-0.4.8 app/views/pulitzer/post_type_content_element_types/_form_fields.html.erb
pulitzer-0.4.7 app/views/pulitzer/post_type_content_element_types/_form_fields.html.erb
pulitzer-0.4.6 app/views/pulitzer/post_type_content_element_types/_form_fields.html.erb
pulitzer-0.4.5 app/views/pulitzer/post_type_content_element_types/_form_fields.html.erb
pulitzer-0.4.4 app/views/pulitzer/post_type_content_element_types/_form_fields.html.erb
pulitzer-0.4.3 app/views/pulitzer/post_type_content_element_types/_form_fields.html.erb
pulitzer-0.4.2 app/views/pulitzer/post_type_content_element_types/_form_fields.html.erb
pulitzer-0.4.1 app/views/pulitzer/post_type_content_element_types/_form_fields.html.erb
pulitzer-0.4.0 app/views/pulitzer/post_type_content_element_types/_form_fields.html.erb