Skip to content

Commit

Permalink
fix: fix date you met update UX (#4511)
Browse files Browse the repository at this point in the history
  • Loading branch information
simonardejr authored Oct 15, 2020
1 parent 827154e commit 288e3d0
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions resources/views/people/introductions/edit.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@
{{-- You don't know the date you've met --}}
<div class="form-check">
<label class="form-check-label" for="is_first_met_date_unknown">
<input type="radio" class="form-check-input" name="is_first_met_date_known" id="is_first_met_date_unknown" value="unknown"
v-model="date_met_the_contact" value="unknown"
{{ (is_null($contact->first_met)) ? 'checked' : '' }}
<input type="radio" class="form-check-input" name="is_first_met_date_known" id="is_first_met_date_unknown" value="unknown"
@click="date_met_the_contact = 'unknown'"
{{ (is_null($contact->first_met_special_date_id)) ? 'checked' : '' }}
>

<div class="form-inline">
Expand All @@ -81,8 +81,9 @@
{{-- You know the date you've met --}}
<div class="form-check">
<label class="form-check-label" for="is_first_met_date_known">
<input type="radio" class="form-check-input" name="is_first_met_date_known" id="is_first_met_date_known" value="known" v-model="date_met_the_contact" value="known"
{{ (! is_null($contact->first_met)) ? 'checked' : '' }}
<input type="radio" class="form-check-input" name="is_first_met_date_known" id="is_first_met_date_known" value="known"
@click="date_met_the_contact = 'known'"
{{ (! is_null($contact->first_met_special_date_id)) ? 'checked' : '' }}
>

{{ trans('people.introductions_first_met_date_known') }}
Expand Down

0 comments on commit 288e3d0

Please sign in to comment.