mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2026-05-12 22:10:25 +00:00
fix: use CSS class to indicate that runner name is required (#11718)
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>
This commit is contained in:
parent
178b2efbd2
commit
26f401cab4
4 changed files with 16 additions and 16 deletions
|
|
@ -6,7 +6,7 @@
|
|||
<fieldset>
|
||||
<legend>{{ctx.Locale.Tr "actions.runners.create_runner.properties_fieldset"}}</legend>
|
||||
<div class="form-field">
|
||||
<label for="name">{{ctx.Locale.Tr "actions.runners.create_runner.name_label"}}</label>
|
||||
<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">
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<fieldset>
|
||||
<legend>{{ctx.Locale.Tr "actions.runners.edit_runner.properties_fieldset"}}</legend>
|
||||
<div class="form-field">
|
||||
<label for="name">{{ctx.Locale.Tr "actions.runners.edit_runner.name_label"}}</label>
|
||||
<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">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue