Removing 'required' tag for 'Latitude / Longitude' for Enterprises

Empty/Null values are valid in db and for existing use-cases
This commit is contained in:
vviekk
2022-11-21 15:12:12 +05:30
parent 204295dc91
commit 22559a755f
2 changed files with 0 additions and 2 deletions

View File

@@ -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

View File

@@ -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) }