Sha256: 7769baffdebe458423c73c0a6554c4471b1bbceef9d7f3aefa33a7d2d7775487

Contents?: true

Size: 868 Bytes

Versions: 43

Compression:

Stored size: 868 Bytes

Contents

<div class="pulitzer-row">
  <div class="pulitzer-span margin"><h5><%= partial.name %></h5></div>
  <div class="pulitzer-span right">
    <%= render partial: '/pulitzer/shared/drag_handle' %>
  </div>
</div>
<%= render 'pulitzer/shared/error_messages', object: partial %>
<%= form_for partial, html: ajax_form_hash(dom_target(partial)), multipart: true,
  data: { server_endpoint: partial_path(partial) } do |f| %>
  <%= f.label :label %>
  <%= f.text_field :label %>
  <%= f.label :layout_id, 'Layout' %>
  <%= f.collection_select :layout_id, partial.available_layouts, :id, :name, {}, {} %>
  <%= submit_tag "Update" %>
  <%= link_to('Cancel', partial_path(partial), :class => 'button',
    data: { ajax_link: true, ajax_target: dom_target(partial) } ) %>
    or
  <%= ajax_delete 'delete', partial_path(partial), {class: 'button'}, dom_target(partial) %>
<% end %>

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
pulitzer-0.5.7 app/views/pulitzer/partials/_form.html.erb
pulitzer-0.5.6 app/views/pulitzer/partials/_form.html.erb
pulitzer-0.5.5 app/views/pulitzer/partials/_form.html.erb
pulitzer-0.5.4 app/views/pulitzer/partials/_form.html.erb
pulitzer-0.5.3 app/views/pulitzer/partials/_form.html.erb
pulitzer-0.5.2 app/views/pulitzer/partials/_form.html.erb
pulitzer-0.5.1 app/views/pulitzer/partials/_form.html.erb
pulitzer-0.5.0 app/views/pulitzer/partials/_form.html.erb
pulitzer-0.4.16 app/views/pulitzer/partials/_form.html.erb
pulitzer-0.4.15 app/views/pulitzer/partials/_form.html.erb
pulitzer-0.4.14 app/views/pulitzer/partials/_form.html.erb
pulitzer-0.4.13 app/views/pulitzer/partials/_form.html.erb
pulitzer-0.4.12 app/views/pulitzer/partials/_form.html.erb
pulitzer-0.4.11 app/views/pulitzer/partials/_form.html.erb
pulitzer-0.4.10 app/views/pulitzer/partials/_form.html.erb
pulitzer-0.4.9 app/views/pulitzer/partials/_form.html.erb
pulitzer-0.4.8 app/views/pulitzer/partials/_form.html.erb
pulitzer-0.4.7 app/views/pulitzer/partials/_form.html.erb
pulitzer-0.4.6 app/views/pulitzer/partials/_form.html.erb
pulitzer-0.4.5 app/views/pulitzer/partials/_form.html.erb