Sha256: b811a4249293cdfeff69d4f62a1fca2ef7be98a399df0c57618c9f0cf27e71fc

Contents?: true

Size: 740 Bytes

Versions: 25

Compression:

Stored size: 740 Bytes

Contents

<%- if params.has_key?(:number_of_files) or !@file_assets.empty? -%>
  <%= render :partial => "hydra/file_assets/index", :locals => { :file_assets => @file_assets } %>
<%- end -%>
<%= form_tag(hydra_asset_file_assets_path(:asset_id => params[:asset_id] || params[:id]), :class => "step") do -%>
  <%= label_tag "number_of_files", "Number of files add" %>
  <%= select_tag("number_of_files", options_for_select((0...11).to_a) ) -%>
  <%= hidden_field_tag(:wf_step, params[:wf_step], :id => "num_files_wf_step") %>
  <%= hidden_field_tag(:new_asset, true, :id => "num_files_new_asset") if params[:new_asset] %>
  <%= hidden_field_tag("id",params[:id], :id => "file_assets_id")%>
  <%= submit_tag(submit_name, :name=>"continue")%>
<%- end -%>

Version data entries

25 entries across 25 versions & 2 rubygems

Version Path
hydra-file-access-5.4.1 app/views/hydra/file_assets/_file_assets_form.html.erb
hydra-file-access-5.4.0.pre1 app/views/hydra/file_assets/_file_assets_form.html.erb
hydra-file-access-5.3.0 app/views/hydra/file_assets/_file_assets_form.html.erb
hydra-file-access-5.1.0 app/views/hydra/file_assets/_file_assets_form.html.erb
hydra-file-access-5.0.1 app/views/hydra/file_assets/_file_assets_form.html.erb
hydra-file-access-5.0.0 app/views/hydra/file_assets/_file_assets_form.html.erb
hydra-file-access-5.0.0.rc1 app/views/hydra/file_assets/_file_assets_form.html.erb
hydra-file-access-5.0.0.pre15 app/views/hydra/file_assets/_file_assets_form.html.erb
hydra-file-access-5.0.0.pre14 app/views/hydra/file_assets/_file_assets_form.html.erb
hydra-file-access-5.0.0.pre13 app/views/hydra/file_assets/_file_assets_form.html.erb
hydra-file-access-5.0.0.pre12 app/views/hydra/file_assets/_file_assets_form.html.erb
hydra-head-4.1.3 app/views/hydra/file_assets/_file_assets_form.html.erb
hydra-file-access-5.0.0.pre11 app/views/hydra/file_assets/_file_assets_form.html.erb
hydra-file-access-5.0.0.pre10 app/views/hydra/file_assets/_file_assets_form.html.erb
hydra-head-4.1.2 app/views/hydra/file_assets/_file_assets_form.html.erb
hydra-file-access-5.0.0.pre9 app/views/hydra/file_assets/_file_assets_form.html.erb
hydra-file-access-5.0.0.pre8 app/views/hydra/file_assets/_file_assets_form.html.erb
hydra-file-access-5.0.0.pre7 app/views/hydra/file_assets/_file_assets_form.html.erb
hydra-file-access-5.0.0.pre6 app/views/hydra/file_assets/_file_assets_form.html.erb
hydra-file-access-5.0.0.pre4 app/views/hydra/file_assets/_file_assets_form.html.erb