mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2026-03-28 10:53:10 -04:00
Followup to https://codeberg.org/forgejo/forgejo/pulls/11516#issuecomment-11634760 Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/11718 Reviewed-by: 0ko <0ko@noreply.codeberg.org> Reviewed-by: Gusted <gusted@noreply.codeberg.org> Co-authored-by: Andreas Ahlenstorf <andreas@ahlenstorf.ch> Co-committed-by: Andreas Ahlenstorf <andreas@ahlenstorf.ch>
22 lines
1.1 KiB
Go HTML Template
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.create_runner.properties_fieldset"}}</legend>
|
|
<div class="form-field">
|
|
<label class="required" for="name">{{ctx.Locale.Tr "actions.runners.create_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.create_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.create_runner.cancel_button"}}</a>
|
|
</div>
|
|
</form>
|
|
</div>
|