Skip to content

Commit

Permalink
Removes the * required.
Browse files Browse the repository at this point in the history
Aligns the instructions and file-upload switch with one another for consistent padding and presentation.
  • Loading branch information
mtribone committed Jun 1, 2016
1 parent a7cc05d commit ec12f46
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 4 additions & 0 deletions app/assets/stylesheets/sufia/_batch-edit.scss
Expand Up @@ -21,3 +21,7 @@
@extend .glyphicon-chevron-down;
}

.switch-upload-type {
padding-top: 1.5em;
}

3 changes: 0 additions & 3 deletions app/views/curation_concerns/base/_form_metadata.html.erb
@@ -1,9 +1,6 @@

<div class="form-instructions">
<p>The more descriptive information you provide the better we can serve your needs.</p>
<div class="clearfix">
<small class="pull-left"><span class="error">*</span> required</small>
</div>
</div>
<div class="base-terms">
<% f.object.primary_terms.each do |term| %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/sufia/batch_uploads/_form.html.erb
@@ -1,7 +1,7 @@
<%= simple_form_for [sufia, @form], html: { multipart: true } do |f| %>
<% content_for :files_tab do %>
<p class="instructions"><strong><%= t("sufia.batch_uploads.files.instructions") %></strong></p>
<p class="switch-upload-type">To create a single work for all the files, go to <%= link_to "New Work", new_curation_concerns_generic_work_path %></p>
<p class="instructions"><%= t("sufia.batch_uploads.files.instructions") %></p>
<% end %>
<%= render 'curation_concerns/base/guts4form', f: f, tabs: %w[files metadata relationships share] do %>
<% end %>
Expand Down

0 comments on commit ec12f46

Please sign in to comment.