{{define "title"}}{{ call $.T "profile_page" .UserProfile.Username }}{{end}}
{{define "contclass"}}cont-view{{end}}
{{define "rss_link"}}{{ genRoute "feed_user" "id" ( print .UserProfile.ID ) "username" .UserProfile.Username }}{{end}}
{{define "rsstitle" }}{{ .UserProfile.Username }}{{end}}
{{define "content"}}
{{ range (index $.FormInfos "infos")}}
	<div class="alert alert-info"><a class="panel-close close" data-dismiss="alert">×</a><i class="glyphicon glyphicon-info-sign"></i> {{ . }}</div>
{{end}}
{{with .UserProfile}}
	<div class="profile-main">
		<div class="box profile-panel">
			{{ block "profile_menu" $ }}{{end}}
		</div>
{{end}}
		<div class="profile-content box">
			{{ block "profile_content" . }}{{end}}
		</div>
	</div>
{{end}}
