From eb21c2eec88f92fb9d80f58f472ee0709eb6e520 Mon Sep 17 00:00:00 2001 From: Braydon Justice <sephirothkod@users.noreply.github.com> Date: Fri, 6 Dec 2024 16:42:13 -0800 Subject: [PATCH] seperated override comments --- app/views/hyrax/pages/_form.html.erb | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/app/views/hyrax/pages/_form.html.erb b/app/views/hyrax/pages/_form.html.erb index 76b6b3d1a..065afa96a 100644 --- a/app/views/hyrax/pages/_form.html.erb +++ b/app/views/hyrax/pages/_form.html.erb @@ -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> @@ -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 %> @@ -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 %> @@ -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 %> @@ -93,4 +97,4 @@ </div> </div> -<%= tinymce :content_block %> \ No newline at end of file +<%= tinymce :content_block %>