Skip to content

Commit

Permalink
Don't nest label for affiliation
Browse files Browse the repository at this point in the history
Connected to #1804
  • Loading branch information
little9 committed Sep 10, 2018
1 parent 43d11b6 commit 0c7847f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions app/javascript/CommitteeMember.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,8 @@

<div v-if="chair.affiliationType === 'Non-Emory'">
{{ chair.affliation }}
<label>Affiliation
<label>Affiliation</label>
<input :name="chairAffiliationAttr(chair)" type="text" class="form-control" v-model="chair.affiliation" v-on:change="sharedState.setValid('My Advisor', false)"/>
</label>
</div>
<button type="button" class="btn btn-danger" @click="sharedState.committeeChairs.remove(chair), sharedState.setValid('My Advisor', false)"><span class="glyphicon glyphicon-trash"></span> Remove Committee Chair</button>
</div>
Expand All @@ -45,9 +44,8 @@

<div v-if="member.affiliationType === 'Non-Emory'">
{{ member.affliation }}
<label>Affiliation
<label>Affiliation</label>
<input :name="memberAffiliationAttr(member)" type="text" class="form-control" v-model="member.affiliation" v-on:change="sharedState.setValid('My Advisor', false)"/>
</label>
</div>
<button type="button" class="btn btn-danger" @click="sharedState.committeeMembers.remove(member), sharedState.setValid('My Advisor', false)"><span class="glyphicon glyphicon-trash"></span> Remove Committee Member</button>
</div>
Expand Down

0 comments on commit 0c7847f

Please sign in to comment.