Sha256: 4745f88ac7955d7759175841fa9dc00f42e701312756da67ab5c8a2177c6fc5d

Contents?: true

Size: 526 Bytes

Versions: 7

Compression:

Stored size: 526 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| %>
  <%= f.label :name %>
  <%= f.text_field :name %>
  <%= f.label :plural %>
  <%= f.check_box :plural %>
  <%= f.label :template %>
  <%= f.check_box :template %>
  <%= f.submit %>
  <%= link_to('Cancel', '#', :class => 'button',
    data: { emptier: true, target: '#new_post_type' } ) %>
<% end %>
<%= render 'pulitzer/shared/error_messages', object: post_type %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
pulitzer-0.1.2 app/views/pulitzer/post_types/_new.html.erb
pulitzer-0.1.1 app/views/pulitzer/post_types/_new.html.erb
pulitzer-0.1.0 app/views/pulitzer/post_types/_new.html.erb
pulitzer-0.0.5 app/views/pulitzer/post_types/_new.html.erb
pulitzer-0.0.4 app/views/pulitzer/post_types/_new.html.erb
pulitzer-0.0.3 app/views/pulitzer/post_types/_new.html.erb
pulitzer-0.0.2 app/views/pulitzer/post_types/_new.html.erb