Skip to content

Commit

Permalink
♻️ revert change to spec, update code instead
Browse files Browse the repository at this point in the history
  • Loading branch information
Shana Moore authored and jeremyf committed Dec 18, 2023
1 parent 6359795 commit 3d2ba22
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="panel-body">
<% require_image = @form.banner_image? ? false : true %>
<%# Upload Banner Image %>
<%= f.input :banner_image, as: :file, wrapper: :vertical_file_input, required: require_image, hint: t('hyrax.admin.appearances.show.forms.banner_image.hint').html_safe, input_html: { name: 'form[banner_image]' } %>
<%= f.input :banner_image, as: :file, wrapper: :vertical_file_input, required: require_image, hint: t('hyrax.admin.appearances.show.forms.banner_image.hint').html_safe, input_html: { name: 'admin_appearance[banner_image]' } %>
<%= f.input :banner_image_text, required: true, as: :text, label: 'Banner image alt text' %>

<!-- Image preview and cropping area -->
Expand Down

0 comments on commit 3d2ba22

Please sign in to comment.