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.12.5 app/views/pulitzer/partials/_form.html.erb
pulitzer-0.12.4 app/views/pulitzer/partials/_form.html.erb
pulitzer-0.12.3 app/views/pulitzer/partials/_form.html.erb
pulitzer-0.12.2 app/views/pulitzer/partials/_form.html.erb
pulitzer-0.12.1 app/views/pulitzer/partials/_form.html.erb
pulitzer-0.12.0 app/views/pulitzer/partials/_form.html.erb
pulitzer-0.11.3 app/views/pulitzer/partials/_form.html.erb
pulitzer-0.11.2 app/views/pulitzer/partials/_form.html.erb
pulitzer-0.11.1 app/views/pulitzer/partials/_form.html.erb
pulitzer-0.11.0 app/views/pulitzer/partials/_form.html.erb
pulitzer-0.10.3 app/views/pulitzer/partials/_form.html.erb
pulitzer-0.10.2 app/views/pulitzer/partials/_form.html.erb
pulitzer-0.10.1 app/views/pulitzer/partials/_form.html.erb
pulitzer-0.10.0 app/views/pulitzer/partials/_form.html.erb
pulitzer-0.5.14 app/views/pulitzer/partials/_form.html.erb
pulitzer-0.5.13 app/views/pulitzer/partials/_form.html.erb
pulitzer-0.5.11 app/views/pulitzer/partials/_form.html.erb
pulitzer-0.5.10 app/views/pulitzer/partials/_form.html.erb
pulitzer-0.5.9 app/views/pulitzer/partials/_form.html.erb
pulitzer-0.5.8 app/views/pulitzer/partials/_form.html.erb