gist-password.gohtml (799B)
1 {{ define "content" }} 2 3 <div class="container"> 4 <div class="col-8 offset-2 col-md-8 offset-md-2 col-sm-8 col-lg-6 offset-lg-3 col-xl-4 offset-xl-4"> 5 {{ if .Data.Error }} 6 <div class="alert alert-danger">{{ .Data.Error }}</div> 7 {{ end }} 8 9 <form method="post"> 10 <input type="hidden" name="csrf" value="{{ .CSRF }}" /> 11 <div class="form-group"> 12 <label for="password">{{ t "Gist password" . }}</label> 13 <input class="form-control" type="password" name="password" id="password" placeholder="Password" /> 14 </div> 15 <div class="form-group"> 16 <button class="btn btn-primary btn-block">{{ t "View gist" . }}</button> 17 </div> 18 </form> 19 </div> 20 </div> 21 22 {{ end }}