{{template "base/head" .}}
<div class="user settings profile">
	<div class="ui container">
		<div class="ui grid">
			{{template "user/settings/navbar" .}}
			<div class="twelve wide column content">
				{{template "base/alert" .}}
				<h4 class="ui top attached header">
					{{.i18n.Tr "settings.social"}} ✈️
				</h4>
				<div class="ui attached segment">
					<p>{{.i18n.Tr "settings.social_desc"}}</p>
					<form class="ui form" action="{{.Link}}" method="post">
						{{.CSRFTokenHTML}}
						<div class="field">
							<label for="twitter">Twitter</label>
							<input id="twitter" name="twitter" value="{{.twitter}}" placeholder="username">
						</div>
						<div class="field">
							<label for="linkedin">Linkedin</label>
							<input id="linkedin" name="linkedin" value="{{.linkedin}}" placeholder="username">
						</div>
						<div class="field">
							<label for="github">GitHub</label>
							<input id="github" name="github" value="{{.github}}" placeholder="username">
						</div>
						<div class="field">
							<label for="gitlab">GitLab</label>
							<input id="gitlab" name="gitlab" value="{{.gitlab}}"  placeholder="username">
						</div>
						<div class="field">
							<label for="stackoverflow">Stackoverflow</label>
							<input id="stackoverflow" name="stackoverflow" value="{{.stackoverflow}}"  placeholder="id/username">
						</div>
						<div class="field">
							<label for="telegram">Telegram</label>
							<input id="telegram" name="telegram" value="{{.telegram}}"  placeholder="username">
						</div>
						<div class="field">
							<label for="codepen">Codepen</label>
							<input id="codepen" name="codepen" value="{{.codepen}}"  placeholder="username">
						</div>

						<div class="field">
							<button class="ui green button">{{$.i18n.Tr "settings.update_social"}}</button>
						</div>
					</form>
				</div>
			</div>
		</div>
	</div>
</div>
{{template "base/footer" .}}
