mirror of
https://github.com/go-gitea/gitea
synced 2024-11-02 00:04:25 +00:00
ec3d467f15
We have to define this one in helpers.css because tailwind only generates a single class but certain things rely on this being double-class. Command ran: ```sh perl -p -i -e 's#gt-hidden#tw-hidden#g' web_src/js/**/* templates/**/* models/**/* web_src/css/**/* --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
5 lines
466 B
Handlebars
5 lines
466 B
Handlebars
<div class="field {{if not .item.VisibleOnForm}}tw-hidden{{end}}">
|
|
{{template "repo/issue/fields/header" .}}
|
|
<input type="{{if .item.Validations.is_number}}number{{else}}text{{end}}" name="form-field-{{.item.ID}}" placeholder="{{.item.Attributes.placeholder}}" value="{{.item.Attributes.value}}" {{if .item.Validations.required}}required{{end}} {{if .item.Validations.regex}}pattern="{{.item.Validations.regex}}" title="{{.item.Validations.regex}}"{{end}}>
|
|
</div>
|