Raw
 1{{define "title"}}{{t "sudo.title"}}{{end}}
 2{{define "content"}}<h1>{{t "sudo.title"}}</h1>
 3<p>{{tr "sudo.intro" .Data.Username}}</p>
 4{{if .Data.Message}}<p class="flash warning" role="alert">{{t .Data.Message}}</p>
 5{{end}}<form method="post" action="/sudo">
 6<input type="hidden" name="csrf" value="{{.CSRF}}">
 7<input type="hidden" name="next" value="{{.Data.Next}}">
 8<label for="password">{{t "sudo.password"}}</label>
 9<input id="password" name="password" type="password" autocomplete="current-password" required>
10<div class="actions"><button type="submit" class="primary" data-disable-on-submit>{{t "sudo.submit"}}</button></div>
11</form>
12{{end}}