Sha256: a7ebaaebf73924c4cfe1f188e20143c0829a75351d475833a0df644a47299d16

Contents?: true

Size: 437 Bytes

Versions: 1

Compression:

Stored size: 437 Bytes

Contents

<%= form_for post_type, html: ajax_form_hash('#post_types_container', insert_method: 'append', sub_class: "AddALineForm", container: '#new_post_type') do |f| %>
  <%= render partial: 'form_fields', locals: { f: f } %>
  <%= f.submit "Create" %>
  <%= link_to('Cancel', '#', :class => 'button',
    data: { emptier: true, target: "#new_#{post_type.kind}" } ) %>
<% end %>
<%= render 'pulitzer/shared/error_messages', object: post_type %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pulitzer-0.4.3 app/views/pulitzer/post_types/_new.html.erb