Sha256: c714a59e8452a746a6830b2023b30142512c93097dbcc19f646881b532b17b00

Contents?: true

Size: 408 Bytes

Versions: 42

Compression:

Stored size: 408 Bytes

Contents

<%= form_for layout, html: ajax_form_hash(dom_target(layout.post_type, :layouts_container), insert_method: 'append') 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

42 entries across 42 versions & 1 rubygems

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