Sha256: a023a77f391f320bb7956279e6d24ac1f0f3974d2c3cd1b15cde87bc94cd3982
Contents?: true
Size: 1 KB
Versions: 7
Compression:
Stored size: 1 KB
Contents
<%= form_for(@record, :html => { :multipart => true } ) do |f| -%> <h2>File</h2> <%= file_field_tag "filedata" %> <h2>Title</h2> <div class="row"> <%= f.label :title, "Title" %> <%= f.text_area :title, :value=>@record.title, :required => true %> </div> <h2>Abstract and keywords</h2> <div class="row"> <%= f.label :abstract %> <%= f.text_area :abstract, :value=>@record.abstract.first, :required=>true %> </div> <div class="row"> <%= label_tag("hydrus_item_keywords", "Keywords") %> <%= text_field_tag("hydrus_item_keywords", @record.descMetadata.subject.topic.join(", ")) -%> <div class="help">separate keywords with commas</div> </div> <h2>Citations</h2> <div class="row"> <%= f.label :preferred_citation, "Preferred citation for this object", :class => "hidden-tablet" %> <%= f.text_area :preferred_citation, :value=>@record.preferred_citation %> </div> <input type="submit" class="btn btn-small save-edits" name="save" id="save" /> <% end %>
Version data entries
7 entries across 7 versions & 1 rubygems