2016-03-18 08:55:35 -04:00
|
|
|
script(type='text/ng-template', id='supportModalTemplate')
|
|
|
|
.modal-header
|
|
|
|
button.close(
|
|
|
|
type="button"
|
|
|
|
data-dismiss="modal"
|
|
|
|
ng-click="close()"
|
|
|
|
) ×
|
2016-03-24 08:05:54 -04:00
|
|
|
h3 #{translate("contact_us")}
|
2016-03-21 07:41:05 -04:00
|
|
|
.modal-body.contact-us-modal
|
2016-03-18 08:55:35 -04:00
|
|
|
span(ng-show="sent == false")
|
|
|
|
label
|
2016-03-24 08:05:54 -04:00
|
|
|
| #{translate("subject")}
|
2016-03-18 08:55:35 -04:00
|
|
|
.form-group
|
|
|
|
input.field.text.medium.span8.form-control(ng-model="form.subject", maxlength='255', tabindex='1', onkeyup='')
|
2016-04-04 11:05:42 -04:00
|
|
|
label.desc(ng-show="'#{getUserEmail()}'.length < 1")
|
2016-03-24 08:05:54 -04:00
|
|
|
| #{translate("email")}
|
2016-04-04 11:05:42 -04:00
|
|
|
.form-group(ng-show="'#{getUserEmail()}'.length < 1")
|
2016-03-21 07:41:05 -04:00
|
|
|
input.field.text.medium.span8.form-control(ng-model="form.email", ng-init="form.email = '#{getUserEmail()}'", type='email', spellcheck='false', value='', maxlength='255', tabindex='2')
|
2016-03-18 08:55:35 -04:00
|
|
|
label#title12.desc
|
2016-03-24 08:05:54 -04:00
|
|
|
| #{translate("project_url")} (#{translate("optional")})
|
2016-03-18 08:55:35 -04:00
|
|
|
.form-group
|
|
|
|
input.field.text.medium.span8.form-control(ng-model="form.project_url", tabindex='3', onkeyup='')
|
|
|
|
label.desc
|
2016-03-24 08:05:54 -04:00
|
|
|
| #{translate("suggestion")}
|
2016-03-18 08:55:35 -04:00
|
|
|
.form-group
|
|
|
|
textarea.field.text.medium.span8.form-control(ng-model="form.message",type='text', value='', maxlength='255', tabindex='4', onkeyup='')
|
|
|
|
.form-group.text-center
|
2016-03-24 08:05:54 -04:00
|
|
|
input.btn-success.btn.btn-lg(type='submit', ng-disabled="sending", ng-click="contactUs()" value='#{translate("contact_us")}')
|
2016-03-18 08:55:35 -04:00
|
|
|
span(ng-show="sent")
|
2016-03-24 08:05:54 -04:00
|
|
|
p #{translate("request_sent_thank_you")}
|