Sha256: 9972f82611186f204282c7e8985891c655ee19d44fd2f8c087af0c931c812e7e

Contents?: true

Size: 1.03 KB

Versions: 6

Compression:

Stored size: 1.03 KB

Contents

<% params.delete(:action) %>
<form onsubmit="jQuery.ajax({data:jQuery.param(jQuery(this).serializeArray()), dataType:'script', type:'post', url:'<%= add_list_papermill_path(params) %>'}); close(); return false;" method="post">
  <ul style="width:800px;display:block">
    <% @selected_assets.each do |asset| %>
      <li style="display:block; float:left">
        <input type=checkbox id="papermill_asset_<%= asset.id %>" name="ids[]" value="<%= asset.id %>" checked='checked' />
        <label for="papermill_asset_<%= asset.id %>"><%= image_tag asset.url("50x") %></label>
      </li>
    <% end -%>
    <hr style="clear:both;margin:10px;"></hr>
    
    <% @other_assets.each do |asset| %>
      <li style="display:block; float:left">
        <input type=checkbox id="papermill_asset_<%= asset.id %>" name="ids[]" value="<%= asset.id %>" />
        <label for="papermill_asset_<%= asset.id %>"><%= image_tag asset.url("50x") %></label>
      </li>
    <% end -%>
  </ul>
  <div style="clear:both;padding:10px;"></div>
  <%= submit_tag "Valider" %>
</form>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
papermill-2.1.1 app/views/papermill/browser.html.erb
papermill-2.1.0 app/views/papermill/browser.html.erb
papermill-2.0.2 app/views/papermill/browser.html.erb
papermill-2.0.1 app/views/papermill/browser.html.erb
papermill-2.0.0 app/views/papermill/browser.html.erb
papermill-2.0.0.pre app/views/papermill/browser.html.erb