mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-03 08:21:07 +00:00
27 lines
1.2 KiB
Text
27 lines
1.2 KiB
Text
form.form-horizontal(ng-submit='create(newGroup)')
|
|
.control-group.whatever-options
|
|
.control-group
|
|
label.control-label(for='new-group-name')
|
|
| {{text}}
|
|
=env.t('name')
|
|
.controls
|
|
input#new-group-name.input-medium.option-content(required, type='text', placeholder='{{text}} Name', ng-model='newGroup.name')
|
|
.control-group
|
|
label.control-label(for='new-group-description')=env.t('description')
|
|
.controls
|
|
textarea#new-group-description.option-content(cols='3', placeholder=env.t('description'), ng-model='newGroup.description')
|
|
.control-group(ng-show='type=="guild"')
|
|
.controls
|
|
label.radio
|
|
input(type='radio', name='new-group-privacy', value='public', ng-model='newGroup.privacy')
|
|
=env.t('public')
|
|
label.radio
|
|
input(type='radio', name='new-group-privacy', value='private', ng-model='newGroup.privacy')
|
|
=env.t('inviteOnly')
|
|
input.btn(type='submit', ng-disabled='!newGroup.privacy && !newGroup.name', value=env.t('create'))
|
|
span.gem-cost= '4 ' + env.t('gems')
|
|
p
|
|
small=env.t('gemCost')
|
|
.control-group(ng-show='type=="party"')
|
|
.controls
|
|
input.btn(type='submit', value=env.t('create'))
|