Sha256: b064950d1435761c0f6522c5761a2652b577415b5dd10304279969975c882117

Contents?: true

Size: 753 Bytes

Versions: 8

Compression:

Stored size: 753 Bytes

Contents

<%= render 'pulitzer/shared/error_messages', object: partial_type %>
<%= form_for partial_type, html: ajax_form_hash(dom_target(partial_type.free_form_section_type, :partial_container), insert_method: 'append', empty_on_success: dom_target(partial_type.free_form_section_type, :new_partial)) do |f| %>
  <%= f.hidden_field :free_form_section_type_id %>
  <%= f.label :post_type_id, 'Partial Type' %>
  <%= f.collection_select :post_type_id, Pulitzer::PostType.partials, :id, :name, {}, revealer(dom_id(partial_type.free_form_section_type, :new_partial_type), highlander: true) %>

  <%= submit_tag "Create" %>
  <a class="button" data-emptier="true" data-target="<%= dom_target(partial_type.free_form_section_type, :new_partial) %>">Close</a>
<% end %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
pulitzer-0.15.0 app/views/pulitzer/partial_types/_new.html.erb
pulitzer-0.14.4 app/views/pulitzer/partial_types/_new.html.erb
pulitzer-0.14.3 app/views/pulitzer/partial_types/_new.html.erb
pulitzer-0.14.2 app/views/pulitzer/partial_types/_new.html.erb
pulitzer-0.14.1 app/views/pulitzer/partial_types/_new.html.erb
pulitzer-0.14.0 app/views/pulitzer/partial_types/_new.html.erb
pulitzer-0.13.1 app/views/pulitzer/partial_types/_new.html.erb
pulitzer-0.13.0 app/views/pulitzer/partial_types/_new.html.erb