Skip to content
This repository has been archived by the owner on Jan 5, 2021. It is now read-only.

Commit

Permalink
Updates the edit screen for filesets to match Bootstrap style buttons.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Tribone committed May 30, 2019
1 parent a989924 commit 5816da3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/work/file_sets/_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
<%= render 'errors', file_set: file_set_form if file_set_form.errors.any? %>

<div class="actions pt-4">
<%= form.submit t('cho.file_set.edit.submit') %>
<%= form.submit t('cho.file_set.edit.submit'), class: 'btn btn-outline-secondary' %>
</div>
<% end %>
2 changes: 1 addition & 1 deletion app/views/work/file_sets/edit.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@

<%= render partial: 'form', locals: { file_set_form: @file_set } %>
<%= render 'shared/form_delete', resource: @file_set %>
<%= link_to t('cho.work.edit.show_link'), polymorphic_path([:solr_document], id: @file_set.id) %>
<%= link_to t('cho.work.edit.show_link'), polymorphic_path([:solr_document], id: @file_set.id), class: 'btn btn-outline-secondary' %>

0 comments on commit 5816da3

Please sign in to comment.