Validate Dispute.starts_at is not in future

This commit is contained in:
Karl Erik Õunapuu 2020-05-11 13:54:22 +03:00
parent 529a8a1bf6
commit 5e152b3b9d
3 changed files with 11 additions and 7 deletions

View file

@ -36,7 +36,7 @@
</div>
<div class="col-md-7">
<%= f.text_field(:starts_at, class: 'form-control js-datepicker') %>
<span class="help-block"><%= t '.in_future' %></span>
<span class="help-block"><%= t '.past_or_today' %></span>
</div>
</div>
<div class="form-group">