From 77de1bfb76fac657dc4a61939166121e964633b0 Mon Sep 17 00:00:00 2001 From: Ashley E Date: Wed, 16 Aug 2023 10:13:57 -0500 Subject: [PATCH] docs: updates variable name for consistency --- .../app/views/sage_components/_sage_upload_card.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/lib/sage_rails/app/views/sage_components/_sage_upload_card.html.erb b/docs/lib/sage_rails/app/views/sage_components/_sage_upload_card.html.erb index ec9fe08931..da53152a94 100644 --- a/docs/lib/sage_rails/app/views/sage_components/_sage_upload_card.html.erb +++ b/docs/lib/sage_rails/app/views/sage_components/_sage_upload_card.html.erb @@ -5,7 +5,7 @@ upload_card_classes << 'sage-upload-card--error' if component.has_error.present? upload_card_classes << component.generated_css_classes upload_card_input_label = component.selection_label.present? ? component.selection_label : "Select a file" - upload_card_imagetypes = component.accepted_file_types.present? ? component.accepted_file_types.join(",") : "image/*" + upload_card_image_types = component.accepted_file_types.present? ? component.accepted_file_types.join(",") : "image/*" upload_card_preview_image_options = { class: "sage-upload-card__preview", @@ -15,7 +15,7 @@
" <%= component.generated_html_attributes.html_safe %>>
<% unless component.custom_file_input_field %> - + <% end %> <% if component.selection_preview.present? %> <%= image_tag(component.selection_preview, upload_card_preview_image_options) %>