Sha256: 61abf4892bf35c8345a15d63a277a1f8ddc79e7f7ac0d74b9af9e64d36fce8b0
Contents?: true
Size: 1.05 KB
Versions: 2
Compression:
Stored size: 1.05 KB
Contents
<%= simple_form_for [:curation_concern, curation_concern] do |f| %> <div class="row"> <div class="span6"> <fieldset class="required"> <legend>Your File’s Title</legend> <%= f.input :title, input_html: { class: 'input-xlarge' } %> </fieldset> <fieldset class="required"> <legend> Attach Your File <small>A PDF copy is preferred.</small> </legend> <%= f.input :file, as: :file, label: 'Upload a file' %> </fieldset> </div> <div class="span6"> <%= render "/curation_concern/permission", curation_concern: curation_concern, f: f %> </div> </div> <div class="row"> <div class="span12 form-actions"> <%= f.submit( (curation_concern.persisted? ? "Update Attached File" : %(Attach to #{parent.human_readable_type})), class: 'btn btn-primary' ) %> <%= link_to 'Cancel', dashboard_index_path, class: 'btn btn-link' %> </div> </div> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
curate-0.3.2 | app/views/curation_concern/generic_files/_form.html.erb |
curate-0.3.1 | app/views/curation_concern/generic_files/_form.html.erb |