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

Version Path
pulitzer-0.15.19 app/views/pulitzer/partials/_form.html.erb
pulitzer-0.15.18 app/views/pulitzer/partials/_form.html.erb
pulitzer-0.15.17 app/views/pulitzer/partials/_form.html.erb
pulitzer-0.15.16 app/views/pulitzer/partials/_form.html.erb
pulitzer-0.15.15 app/views/pulitzer/partials/_form.html.erb
pulitzer-0.15.14 app/views/pulitzer/partials/_form.html.erb
pulitzer-0.15.13 app/views/pulitzer/partials/_form.html.erb
pulitzer-0.15.12 app/views/pulitzer/partials/_form.html.erb
pulitzer-0.15.11 app/views/pulitzer/partials/_form.html.erb
pulitzer-0.15.10 app/views/pulitzer/partials/_form.html.erb
pulitzer-0.15.9 app/views/pulitzer/partials/_form.html.erb
pulitzer-0.15.8 app/views/pulitzer/partials/_form.html.erb
pulitzer-0.15.7 app/views/pulitzer/partials/_form.html.erb
pulitzer-0.15.6 app/views/pulitzer/partials/_form.html.erb
pulitzer-0.15.5 app/views/pulitzer/partials/_form.html.erb
pulitzer-0.15.4 app/views/pulitzer/partials/_form.html.erb
pulitzer-0.15.3 app/views/pulitzer/partials/_form.html.erb
pulitzer-0.15.2 app/views/pulitzer/partials/_form.html.erb
pulitzer-0.15.1 app/views/pulitzer/partials/_form.html.erb
pulitzer-0.15.0 app/views/pulitzer/partials/_form.html.erb