Sha256: 728ee62131769f2957f8fbee4b221a520fa237a1f2352e9be7bdba15d645471b

Contents?: true

Size: 540 Bytes

Versions: 2

Compression:

Stored size: 540 Bytes

Contents

<%= f.label :name %>
<%= f.text_field :name %>
<%= f.select :kind, Pulitzer::PostType.kinds.keys.map { |m| [m.humanize, m] }, {}, revealer(dom_id(f.object, :kind), highlander: true) %>
<div <%= revealer_target_attrs(dom_id(f.object, :kind)) %>>
  <div <%= revealer_option_attrs(dom_id(f.object, :kind), trigger: 'template') %>>
    <%= f.label :plural %>
    <%= f.check_box :plural %>
  </div>
  <div <%= revealer_option_attrs(dom_id(f.object, :kind), trigger: 'partial') %>>
    <%= f.hidden_field :plural, value: true %>
  </div>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pulitzer-0.4.2 app/views/pulitzer/post_types/_form_fields.html.erb
pulitzer-0.4.1 app/views/pulitzer/post_types/_form_fields.html.erb