Sha256: d7a93f0fc90f7a470629853ccfa1f8a48d5461ce509f75b98c09b3a809f38b25
Contents?: true
Size: 1.79 KB
Versions: 27
Compression:
Stored size: 1.79 KB
Contents
<div class="pulitzer-row"> <div class="pulitzer-span right"> <%= render partial: '/pulitzer/shared/drag_handle' %> </div> </div> <%= render 'pulitzer/shared/error_messages', object: partial %> <div class="pulitzer-row"> <%= form_for partial, html: ajax_form_hash(dom_target(partial)), multipart: true, data: { server_endpoint: partial_path(partial) } do |f| %> <div class="pulitzer-span one-fifth"> <%= f.text_field :label %> </div> <div class="pulitzer-span <%= partial.available_arrangements.any? ? 'ten-percent' : 'one-fifth' %>"><%= partial.folder_path %>/<%= partial.available_arrangements.empty? ? partial.template_path : '' %></div> <% if partial.available_arrangements.any? %> <div class="pulitzer-span ten-percent"> <%= f.collection_select :arrangement_style_id, partial.available_arrangements, :id, :display_name, {}, {} %> </div> <% end %> <div class="pulitzer-span ten-percent"> <%= f.collection_select :background_style_id, partial.available_backgrounds, :id, :display_name, {}, {} %> </div> <div class="pulitzer-span ten-percent"> <%= f.collection_select :justification_style_id, partial.available_justifications, :id, :display_name, {}, {} %> </div> <div class="pulitzer-span one-fifth"> <%= f.collection_select :sequence_flow_style_id, partial.available_sequence_flows, :id, :display_name, {}, {} %> </div> <div class="pulitzer-span ten-percent"> <%= submit_tag "Update" %> </div> <div class="pulitzer-span ten-percent"> <%= link_to('Cancel', partial_path(partial), :class => 'button', data: { ajax_link: true, ajax_target: dom_target(partial) } ) %> <%= ajax_delete 'delete', partial_path(partial), {class: 'button'}, dom_target(partial) %> </div> <% end %> </div>
Version data entries
27 entries across 27 versions & 1 rubygems