Sha256: 938be0ec6530df1f11b8db8b4bb03f388ea63af8eb9d7a4c3bf044d6c456ce7f

Contents?: true

Size: 496 Bytes

Versions: 7

Compression:

Stored size: 496 Bytes

Contents

<%= form_for post_type, html: ajax_form_hash(dom_target(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 "Update post type" %>
  <%= link_to('Cancel', post_type_path(post_type), :class => 'button',
    data: { ajax_link: true, ajax_target: dom_target(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/_form.html.erb
pulitzer-0.1.1 app/views/pulitzer/post_types/_form.html.erb
pulitzer-0.1.0 app/views/pulitzer/post_types/_form.html.erb
pulitzer-0.0.5 app/views/pulitzer/post_types/_form.html.erb
pulitzer-0.0.4 app/views/pulitzer/post_types/_form.html.erb
pulitzer-0.0.3 app/views/pulitzer/post_types/_form.html.erb
pulitzer-0.0.2 app/views/pulitzer/post_types/_form.html.erb