1
{{define "profile-form"}}
2
<div id="profile_edit">
3
<form id="profile_form" class="ym-form ym-columnar" method="POST"
4
action="{{path "profile"}}">
6
<div class="large-4 columns">
7
<label for="displayName" class="inline">Отображаемое имя:</label>
9
<div class="large-8 columns">
13
placeholder="Вместо юзернейма"
14
value="{{.User.DisplayNameValue}}">
18
<div class="large-4 columns">
19
<label for="username" class="inline required-field">Юзернейм:</label>
21
<div class="large-8 columns">
25
value="{{.User.Username}}"
26
placeholder="username"
31
<div class="large-4 columns">
32
<label for="email" class="inline">E-mail:</label>
34
<div class="large-8 columns">
38
value="{{.User.Email}}"
39
placeholder="mail@example.org">
43
<div class="large-offset-4 large-8 columns">
44
<input id="is_male1" type="radio" name="gender" value="male" {{if .User.IsMale}}checked{{end}}>
45
<label for="is_male1"><i class="glyphicon mars"></i></label>
46
<input id="is_male2" type="radio" name="gender" value="female" {{if not .User.IsMale}}checked{{end}}>
47
<label for="is_male2"><i class="glyphicon venus"></i></label>
51
<div class="large-offset-4 large-8 columns subscriptions">
52
<input id="reply_subscribe"
54
name="reply_subscribe" {{if not .SubscriptionsSettings.BlockSending}}checked{{end}}>
55
<label for="reply_subscribe">Уведомления на почту об ответах на ваши комментарии</label>
59
<div class="large-offset-4 large-8 columns">
61
class="ym-button ym-add"
63
name="submit">Сохранить</button>
67
<div class="ajax-loader"></div>