mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-03-13 23:32:41 +00:00
fix styling for error fields
This commit is contained in:
parent
51580beaee
commit
5a1547f2e8
1 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@
|
|||
<input type="hidden" name="content_type" value="{{.ContentType}}" />
|
||||
|
||||
<fieldset{{if not .ContentID}} disabled{{end}}>
|
||||
<label{{if .Err_AbuseCategory}} class="error"{{end}}>
|
||||
<label{{if .Err_AbuseCategory}} class="field error"{{end}}>
|
||||
{{ctx.Locale.Tr "moderation.abuse_category"}}
|
||||
<select class="ui selection dropdown" id="abuse_category" name="abuse_category" required autofocus>
|
||||
<option value="">{{ctx.Locale.Tr "moderation.abuse_category.placeholder"}}</option>
|
||||
|
@ -24,7 +24,7 @@
|
|||
{{end}}
|
||||
</select>
|
||||
</label>
|
||||
<label{{if .Err_Remarks}} class="error"{{end}}>
|
||||
<label{{if .Err_Remarks}} class="field error"{{end}}>
|
||||
{{ctx.Locale.Tr "moderation.report_remarks"}}
|
||||
<textarea id="remarks" name="remarks" required minlength="20" maxlength="500" placeholder="{{ctx.Locale.Tr "moderation.report_remarks.placeholder"}}">{{.remarks}}</textarea>
|
||||
</label>
|
||||
|
|
Loading…
Reference in a new issue