Sha256: 61cc08fc9f66f8b9da9eee0a3b80c61e2cb6c1ca1ee086d295e9ce997d37fc70

Contents?: true

Size: 1.6 KB

Versions: 32

Compression:

Stored size: 1.6 KB

Contents

<div class="pulitzer-span one-fifth">
  <%= f.text_field :label %>
</div>
<div class="pulitzer-span ten-percent">
  <%= f.collection_select :content_element_type_id, Pulitzer::ContentElementType.all, :id, :name, {},
revealer(dom_id(ptcet, :revealer), highlander: true) %>
</div>
<%= f.hidden_field :post_type_version_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) %> class="pulitzer-span two-fifths">
  <%= f.text_field :height, placeholder: 'Height' %>
  x
  <%= f.text_field :width, placeholder: 'Width' %>
</div>

<div <%= revealer_option_attrs(dom_id(ptcet, :revealer), trigger: Pulitzer::ContentElementType.find_by(name: 'Text').id) %> class="pulitzer-span two-fifths">
  <%= f.select :text_editor, Pulitzer.text_editor_toolbars.map { |t| t[:name] } %>
</div>

<div <%= revealer_option_attrs(dom_id(ptcet, :revealer), trigger: Pulitzer::ContentElementType.find_by(name: 'Video').id) %> class="pulitzer-span two-fifths">
  &nbsp;
</div>

<div <%= revealer_option_attrs(dom_id(ptcet, :revealer), trigger: Pulitzer::ContentElementType.find_by(name: 'Clickable').id) %> class="pulitzer-span two-fifths">
  <%= f.select :clickable_kind, options_from_collection_for_select(Pulitzer::PostTypeContentElementType.clickable_kinds, :gid, :name, f.object.clickable_kind) %>  
</div>
<div class="pulitzer-span ten-percent">&nbsp;</div>
<div class="pulitzer-span five-percent">
  <%= f.check_box :required %>
</div>

<div class="pulitzer-span five-percent">
  <%= f.text_field :sort_order %>
</div>

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
pulitzer-0.15.31 app/views/pulitzer/post_type_content_element_types/_form_fields.html.erb
pulitzer-0.15.30 app/views/pulitzer/post_type_content_element_types/_form_fields.html.erb
pulitzer-0.15.29 app/views/pulitzer/post_type_content_element_types/_form_fields.html.erb
pulitzer-0.15.28 app/views/pulitzer/post_type_content_element_types/_form_fields.html.erb
pulitzer-0.15.27 app/views/pulitzer/post_type_content_element_types/_form_fields.html.erb
pulitzer-0.15.26 app/views/pulitzer/post_type_content_element_types/_form_fields.html.erb
pulitzer-0.15.25 app/views/pulitzer/post_type_content_element_types/_form_fields.html.erb
pulitzer-0.15.24 app/views/pulitzer/post_type_content_element_types/_form_fields.html.erb
pulitzer-0.15.23 app/views/pulitzer/post_type_content_element_types/_form_fields.html.erb
pulitzer-0.15.22 app/views/pulitzer/post_type_content_element_types/_form_fields.html.erb
pulitzer-0.15.21 app/views/pulitzer/post_type_content_element_types/_form_fields.html.erb
pulitzer-0.15.20 app/views/pulitzer/post_type_content_element_types/_form_fields.html.erb
pulitzer-0.15.19 app/views/pulitzer/post_type_content_element_types/_form_fields.html.erb
pulitzer-0.15.18 app/views/pulitzer/post_type_content_element_types/_form_fields.html.erb
pulitzer-0.15.17 app/views/pulitzer/post_type_content_element_types/_form_fields.html.erb
pulitzer-0.15.16 app/views/pulitzer/post_type_content_element_types/_form_fields.html.erb
pulitzer-0.15.15 app/views/pulitzer/post_type_content_element_types/_form_fields.html.erb
pulitzer-0.15.14 app/views/pulitzer/post_type_content_element_types/_form_fields.html.erb
pulitzer-0.15.13 app/views/pulitzer/post_type_content_element_types/_form_fields.html.erb
pulitzer-0.15.12 app/views/pulitzer/post_type_content_element_types/_form_fields.html.erb