Styles inputs in group modal to be consistent with rest of app #9897 (#9924)

* Styles input in group modal to be consistent with rest of app #9897

* Changed checkbox id to accurately describe the element
This commit is contained in:
James Hwang
2018-02-09 14:44:56 -08:00
committed by Sabe Jones
parent f49c99ee06
commit 6c677be9d2

View File

@@ -86,16 +86,13 @@ div
label(for='new-group-description') {{ $t('description') }} label(for='new-group-description') {{ $t('description') }}
textarea.form-control#new-group-description.option-content(cols='3', :placeholder="$t('description')", v-model='newGroup.description') textarea.form-control#new-group-description.option-content(cols='3', :placeholder="$t('description')", v-model='newGroup.description')
.form-group(v-if='type === "guild"') .form-group(v-if='type === "guild"')
.radio .custom-control.custom-radio
label input.custom-control-input(type='radio', name='new-group-privacy', value='private', v-model='newGroup.privacy')
input(type='radio', name='new-group-privacy', value='private', v-model='newGroup.privacy') label.custom-control-label {{ $t('inviteOnly') }}
| {{ $t('inviteOnly') }}
.form-group .form-group
.checkbox .custom-control.custom-checkbox
label input.custom-control-input(type='checkbox', v-model='newGroup.leaderOnly.challenges' id='create-group-leaderOnlyChallenges-checkbox')
input(type='checkbox', v-model='newGroup.leaderOnly.challenges') label.custom-control-label(for='create-group-leaderOnlyChallenges-checkbox') {{ $t('leaderOnlyChallenges') }}
| {{ $t('leaderOnlyChallenges') }}
.form-group(v-if='type === "party"') .form-group(v-if='type === "party"')
button.btn.btn-secondary.form-control(@click='createGroup()', :value="$t('createGroupPlan')") button.btn.btn-secondary.form-control(@click='createGroup()', :value="$t('createGroupPlan')")
.form-group .form-group