mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-04-25 05:44:09 +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}}" />
|
<input type="hidden" name="content_type" value="{{.ContentType}}" />
|
||||||
|
|
||||||
<fieldset{{if not .ContentID}} disabled{{end}}>
|
<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"}}
|
{{ctx.Locale.Tr "moderation.abuse_category"}}
|
||||||
<select class="ui selection dropdown" id="abuse_category" name="abuse_category" required autofocus>
|
<select class="ui selection dropdown" id="abuse_category" name="abuse_category" required autofocus>
|
||||||
<option value="">{{ctx.Locale.Tr "moderation.abuse_category.placeholder"}}</option>
|
<option value="">{{ctx.Locale.Tr "moderation.abuse_category.placeholder"}}</option>
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
{{end}}
|
{{end}}
|
||||||
</select>
|
</select>
|
||||||
</label>
|
</label>
|
||||||
<label{{if .Err_Remarks}} class="error"{{end}}>
|
<label{{if .Err_Remarks}} class="field error"{{end}}>
|
||||||
{{ctx.Locale.Tr "moderation.report_remarks"}}
|
{{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>
|
<textarea id="remarks" name="remarks" required minlength="20" maxlength="500" placeholder="{{ctx.Locale.Tr "moderation.report_remarks.placeholder"}}">{{.remarks}}</textarea>
|
||||||
</label>
|
</label>
|
||||||
|
|
Loading…
Reference in a new issue