Sha256: 91b2022a795c1237e7658eea5e25cd34384b1c6aae65bcacc59216899c30d86a
Contents?: true
Size: 1.54 KB
Versions: 4
Compression:
Stored size: 1.54 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_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"> </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 five-percent"> <%= f.check_box :required %> </div> <div class="pulitzer-span five-percent"> <%= f.text_field :sort_order %> </div>
Version data entries
4 entries across 4 versions & 1 rubygems