Sha256: 47bed740fae1aae828c083f831465fa358ec56eaa14e9675983169bd122b3af9

Contents?: true

Size: 469 Bytes

Versions: 3

Compression:

Stored size: 469 Bytes

Contents

<%= form_for layout, html: ajax_form_hash(dom_target(layout.post_type, :layouts_container), insert_method: 'append', empty_on_success: dom_target(layout.post_type, :new_layout)) do |f| %>
  <%= f.hidden_field :post_type_id %>
  <%= render partial: 'form_fields', locals: { f: f, layout: layout } %>
  <%= f.submit "Create" %>
  <%= link_to('Cancel', '#', :class => 'button',
    data: { emptier: true, target: dom_target(layout.post_type, :new_layout) } ) %>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pulitzer-0.4.2 app/views/pulitzer/layouts/_new.html.erb
pulitzer-0.4.1 app/views/pulitzer/layouts/_new.html.erb
pulitzer-0.4.0 app/views/pulitzer/layouts/_new.html.erb