mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-03 08:21:07 +00:00
28 lines
1.4 KiB
Text
28 lines
1.4 KiB
Text
|
|
form.form-horizontal(x-bind='submit:groupCreate', data-type='{{type}}')
|
||
|
|
.alert.alert-danger(ng-show='_groupError') {{_groupError}}
|
||
|
|
.control-group.whatever-options
|
||
|
|
.control-group
|
||
|
|
label.control-label(for='new-group-name') {{text}} Name
|
||
|
|
.controls
|
||
|
|
input#new-group-name.input-medium.option-content(required, type='text', placeholder='{{text}} Name', value='{{_new.group.name}}')
|
||
|
|
.control-group
|
||
|
|
label.control-label(for='new-group-description') Description
|
||
|
|
.controls
|
||
|
|
textarea#new-group-description.option-content(cols='3', placeholder='Description') {{_new.group.description}}
|
||
|
|
.control-group(ng-show='type=="guild"')
|
||
|
|
.controls
|
||
|
|
label.radio
|
||
|
|
input(type='radio', name='new-group-privacy', checked='{{"public"==_new.group.privacy}}')
|
||
|
|
| Public
|
||
|
|
label.radio
|
||
|
|
input(type='radio', name='new-group-privacy', checked='{{"private"==_new.group.privacy}}')
|
||
|
|
| Invite Only
|
||
|
|
input.btn(type='submit', ng-disabled='!_new.group.privacy && !_new.group.name', value='Create')
|
||
|
|
span.gem-cost 4 Gems
|
||
|
|
p
|
||
|
|
small
|
||
|
|
| The Gem cost promotes high quality guilds, and is transferred into your guild's bank for use as rewards in the upcoming Challenges feature!
|
||
|
|
.control-group(ng-show='type=="party"')
|
||
|
|
.controls
|
||
|
|
input.btn(type='submit', value='Create')
|