From 22559a755f5b58d65d39f3e34fdaaf4871462199 Mon Sep 17 00:00:00 2001 From: vviekk Date: Mon, 21 Nov 2022 15:12:12 +0530 Subject: [PATCH] Removing 'required' tag for 'Latitude / Longitude' for Enterprises Empty/Null values are valid in db and for existing use-cases --- app/views/admin/enterprises/_new_form.html.haml | 1 - app/views/admin/enterprises/form/_address.html.haml | 1 - 2 files changed, 2 deletions(-) diff --git a/app/views/admin/enterprises/_new_form.html.haml b/app/views/admin/enterprises/_new_form.html.haml index 5cf78a06cd..6964c19032 100644 --- a/app/views/admin/enterprises/_new_form.html.haml +++ b/app/views/admin/enterprises/_new_form.html.haml @@ -102,7 +102,6 @@ = af.label :latitude, t(:latitude) \/ = af.label :longitude, t(:longitude) - %span.required * %div{'ofn-with-tip' => t('latitude_longitude_tip')} %a= t('admin.whats_this') .four.columns diff --git a/app/views/admin/enterprises/form/_address.html.haml b/app/views/admin/enterprises/form/_address.html.haml index 64d72bbadc..6ce9fd1411 100644 --- a/app/views/admin/enterprises/form/_address.html.haml +++ b/app/views/admin/enterprises/form/_address.html.haml @@ -41,7 +41,6 @@ = af.label :latitude, t(:latitude) \/ = af.label :longitude, t(:longitude) - %span.required * = render partial: 'admin/shared/tooltip', locals: {tooltip_text: t('latitude_longitude_tip')} .four.columns = af.text_field :latitude, { placeholder: t(:latitude_placeholder) }