Sha256: c6f6e3c28a79921cb4d1a641a88cff5d5acf251b6e0dc30e7c4a8c1d70d446f5
Contents?: true
Size: 1.05 KB
Versions: 3
Compression:
Stored size: 1.05 KB
Contents
<%= simple_form_for [main_app, @form], html: { multipart: true } do |f| %> <% if f.object.errors.include?(:base) %> <div class="alert alert-danger alert-dismissable" role="alert"> <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button> <%= f.object.errors.full_messages_for(:base).send(SimpleForm.error_method) %> </div> <% end %> <% unless f.object.persisted? %> <% content_for :metadata_tab do %> <p class="switch-upload-type">To create a separate work for each of the files, go to <%= link_to "Batch upload", sufia.new_batch_upload_path %></p> <% end %> <% end %> <%= render 'curation_concerns/base/guts4form', f: f %> <% end %> <script type="text/javascript"> Blacklight.onLoad(function() { <%# This causes the page to switch back to the default template if they've previously visited the batch download page in this Turbolinks session %> $("#fileupload").fileupload('option', 'downloadTemplateId', 'template-download') }); </script>
Version data entries
3 entries across 3 versions & 1 rubygems