Sha256: 7bdc33483451d09015076e0c92c5530f366ed25c717debb48e8cc507fc6e92db

Contents?: true

Size: 843 Bytes

Versions: 10

Compression:

Stored size: 843 Bytes

Contents

<div class='multipart_form_index_links'>
  <div class='multipart_form_index_links_links'>
    <% @multipart_form_index_parts[form_subject.id][:parts].each do |part| %>
      <% if ActsAsMultipartForm.config.use_numbered_parts_on_index %>
        <%= link_to part[:number].to_s, send(@multipart_form_path, :id => form_subject.id, :multipart_form_part => part[:name]) %>
      <% else %>
        <%= link_to part[:name].to_s.titleize, send(@multipart_form_path, :id => form_subject.id, :multipart_form_part => part[:name]) %>
      <% end %>
    <% end %>
  </div>
  <% if ActsAsMultipartForm.config.show_completed %>
    <div class='multipart_form_index_links_complete'>
      <% if @multipart_form_index_parts[form_subject.id][:completed] %>
        Complete
      <% else %>
        Incomplete
      <% end %>
    </div>  
  <% end %>
</div>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
acts_as_multipart_form-0.0.16 app/views/multipart_form/_index_links.html.erb
acts_as_multipart_form-0.0.15 app/views/multipart_form/_index_links.html.erb
acts_as_multipart_form-0.0.14 app/views/multipart_form/_index_links.html.erb
acts_as_multipart_form-0.0.13 app/views/multipart_form/_index_links.html.erb
acts_as_multipart_form-0.0.12 app/views/multipart_form/_index_links.html.erb
acts_as_multipart_form-0.0.11 app/views/multipart_form/_index_links.html.erb
acts_as_multipart_form-0.0.10 app/views/multipart_form/_index_links.html.erb
acts_as_multipart_form-0.0.9 app/views/multipart_form/_index_links.html.erb
acts_as_multipart_form-0.0.8 app/views/multipart_form/_index_links.html.erb
acts_as_multipart_form-0.0.7 app/views/multipart_form/_index_links.html.erb