mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-03 07:49:12 +01:00
5 lines
379 B
Handlebars
5 lines
379 B
Handlebars
|
<div class="field">
|
||
|
{{template "repo/issue/fields/header" .}}
|
||
|
<input type="{{if .Validations.is_number}}number{{else}}text{{end}}" name="form-field-{{.ID}}" placeholder="{{.Attributes.placeholder}}" value="{{.Attributes.value}}" {{if .Validations.required}}required{{end}} {{if .Validations.regex}}pattern="{{.Validations.regex}}" title="{{.Validations.regex}}"{{end}}>
|
||
|
</div>
|