|
|
@ -53,11 +53,11 @@ |
|
|
|
{{.CsrfTokenHtml}} |
|
|
|
{{.CsrfTokenHtml}} |
|
|
|
<div class="field {{if .Err_Title}}error{{end}}"> |
|
|
|
<div class="field {{if .Err_Title}}error{{end}}"> |
|
|
|
<label for="title">{{.i18n.Tr "settings.key_name"}}</label> |
|
|
|
<label for="title">{{.i18n.Tr "settings.key_name"}}</label> |
|
|
|
<input id="title" name="title" value="{{.title}}" autofocus required> |
|
|
|
<input id="ssh-key-title" name="title" value="{{.title}}" autofocus required> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="field {{if .Err_Content}}error{{end}}"> |
|
|
|
<div class="field {{if .Err_Content}}error{{end}}"> |
|
|
|
<label for="content">{{.i18n.Tr "settings.key_content"}}</label> |
|
|
|
<label for="content">{{.i18n.Tr "settings.key_content"}}</label> |
|
|
|
<textarea id="content" name="content" required>{{.content}}</textarea> |
|
|
|
<textarea id="ssh-key-content" name="content" required>{{.content}}</textarea> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<button class="ui green button"> |
|
|
|
<button class="ui green button"> |
|
|
|
{{.i18n.Tr "settings.add_key"}} |
|
|
|
{{.i18n.Tr "settings.add_key"}} |
|
|
|