Skip to content

Commit

Permalink
seperated override comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sephirothkod authored Dec 7, 2024
1 parent 7a50d1b commit eb21c2e
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions app/views/hyrax/pages/_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
</div>
</div>
<div class="card-footer d-flex justify-content-end">
<%# OVERRIDE change button to submit %>
<%= f.submit t(:'hyrax.pages.update'), class: 'btn btn-primary text-white mr-2' %>
<%= link_to t(:'hyrax.pages.cancel'), hyrax.admin_admin_sets_path, class: 'btn btn-light' %>
</div>
Expand All @@ -52,7 +53,8 @@
</div>
</div>
<div class="card-footer d-flex justify-content-end">
<%= f.submit t(:'hyrax.pages.update'), class: 'btn btn-primary text-white mr-2' # OVERRIDE button to submit %>
<%# OVERRIDE change button to submit %>
<%= f.submit t(:'hyrax.pages.update'), class: 'btn btn-primary text-white mr-2' %>
<%= link_to t(:'hyrax.pages.cancel'), hyrax.admin_admin_sets_path, class: 'btn btn-light' %>
</div>
<% end %>
Expand All @@ -68,7 +70,8 @@
</div>
</div>
<div class="card-footer d-flex justify-content-end">
<%= f.submit t(:'hyrax.pages.update'), class: 'btn btn-primary text-white mr-2' # OVERRIDE button to submit %>
<%# OVERRIDE change button to submit %>
<%= f.submit t(:'hyrax.pages.update'), class: 'btn btn-primary text-white mr-2' %>
<%= link_to t(:'hyrax.pages.cancel'), hyrax.admin_admin_sets_path, class: 'btn btn-light' %>
</div>
<% end %>
Expand All @@ -84,7 +87,8 @@
</div>
</div>
<div class="card-footer d-flex justify-content-end">
<%= f.submit t(:'hyrax.pages.update'), class: 'btn btn-primary text-white mr-2' # OVERRIDE button to submit %>
<%# OVERRIDE change button to submit %>
<%= f.submit t(:'hyrax.pages.update'), class: 'btn btn-primary text-white mr-2' %>
<%= link_to t(:'hyrax.pages.cancel'), hyrax.admin_admin_sets_path, class: 'btn btn-light' %>
</div>
<% end %>
Expand All @@ -93,4 +97,4 @@
</div>

</div>
<%= tinymce :content_block %>
<%= tinymce :content_block %>

0 comments on commit eb21c2e

Please sign in to comment.