Skip to content

Commit

Permalink
Merge pull request #82 from CDL-Dryad/data-google-tweak
Browse files Browse the repository at this point in the history
Minor textual updates -- add "Data Title", remove "Google Drive"
  • Loading branch information
sfisher authored Mar 4, 2020
2 parents 921074a + e83ca12 commit 0c475a0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<% form_id = "resource_title_#{resource.id}" %>
<%= form_tag(titles_update_path, method: :patch, remote: true, authenticity_token: true, html: { id: form_id, class: 'c-input' }) do |f| %>
<% my_suffix = field_suffix(resource) %>
<strong><%= label_tag "#{my_suffix}", "Title", class: 'required c-input__label' %></strong><br/>
<strong><%= label_tag "#{my_suffix}", "Dataset Title", class: 'required c-input__label' %></strong><br/>
<%= text_field_tag :title, resource.title, id: "title_#{my_suffix}", class: 'title c-input__text', size: 130 %>
<%= hidden_field_tag :id, resource.id %>
<%= hidden_field_tag(:form_id, form_id) %>
<% end %>
<% end %>
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<%# locals: resource, upload_method [:files, :manifest] %>
<h2 class="t-upload__choose-heading--active">Step 1: Choose File Upload Technique</h2>
<p>You may upload data via two mechanisms: directly from your computer, or from a URL on an external server (Box, Dropbox,
Google Drive, lab server).
lab server).
Please note that for this version of your submission you may only use one of these two upload mechanisms.
</p>
<%= render 'stash_engine/file_uploads/file_size_text' %>
Expand All @@ -21,4 +21,4 @@
<label for="files_from_manifest">Enter URLs of file locations</label>
</div>
</div>
</div>
</div>

0 comments on commit 0c475a0

Please sign in to comment.