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