Skip to content

Commit

Permalink
change broker broker staff calendar to match prod dates (#4403)
Browse files Browse the repository at this point in the history
  • Loading branch information
TristanB17 authored and kristinmerbach committed Sep 6, 2024
1 parent 0d1504b commit 388b036
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

<div class="col-md-3 mb-3">
<label for="inputDOB" class="required"><%= l10n('broker_agencies.dob') %></label>
<%= f.date_field :dob, placeholder: l10n('dob_format'), min: 110.years.ago, max: 16.years.ago, required: true, onblur: 'validDob(this)' %>
<%= f.date_field :dob, placeholder: l10n('dob_format'), min: 110.years.ago, max: 16.years.ago.beginning_of_month, required: true, onblur: 'validDob(this)' %>
<div class="invalid-feedback">
<%= l10n("invalid_dob") %>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
</div>
<div class="col-md-3 mb-2">
<label for="inputDOB" class='required'><%= l10n('broker_agencies.dob') %></label>
<%= f.date_field :dob, placeholder: l10n('dob_format'), min: 110.years.ago, max: 16.years.ago, required: true, class: 'form-control', onblur: 'validDob(this)' %>
<%= f.date_field :dob, placeholder: l10n('dob_format'), min: 110.years.ago, max: 18.years.ago.end_of_month, required: true, class: 'form-control', onblur: 'validDob(this)' %>
<div class="invalid-feedback">
<%= l10n("invalid_dob") %>
</div>
Expand Down

0 comments on commit 388b036

Please sign in to comment.