gitforge/templates/shared/actions/runner_create.tmpl
0ko 8e8610d2f8 fix(ui): dedup, fix, improve various strings (#12843)
Multiple fixes squashed into one PR for simplicity. See individual commit messages in the PR for details

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/12843
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2026-06-10 09:16:26 +02:00

22 lines
1.1 KiB
Go HTML Template

<div class="runner-container">
<h4 class="ui top attached header">
{{ctx.Locale.Tr "actions.runners.create_runner.title"}}
</h4>
<form class="ui form attached segment" action="{{.Link}}" method="post">
<fieldset>
<legend>{{ctx.Locale.Tr "actions.runners.edit_runner.properties_fieldset"}}</legend>
<div class="form-field">
<label class="required" for="name">{{ctx.Locale.Tr "actions.runners.edit_runner.name_label"}}</label>
<input id="name" name="runner_name" type="text" value="{{.Runner.Name}}"{{if .Err_RunnerName}} class="error"{{end}}>
</div>
<div class="form-field">
<label for="description">{{ctx.Locale.Tr "actions.runners.edit_runner.description_label"}}</label>
<textarea id="description" name="runner_description"{{if .Err_RunnerDescription}} class="error"{{end}}>{{.Runner.Description}}</textarea>
</div>
</fieldset>
<div class="button-sequence">
<button class="primary button">{{ctx.Locale.Tr "actions.runners.create_runner.create_button"}}</button>
<a class="secondary button" href="{{$.RunnersListLink}}">{{ctx.Locale.Tr "actions.runners.edit_runner.cancel_button"}}</a>
</div>
</form>
</div>