mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-22 12:54:53 -05:00
Remove the required class from optional ssh port in installation page (#5428)
the ssh port is optional during the installation process. The translations even mention that it is optional and can be blank. Right now it has the `required` class which creates the red `*` behind the field caption - used for required fields. If you leave it blank, the SSH option is disabled (not touched by this PR) Signed-off-by: Roman <romaaan.git@gmail.com>
This commit is contained in:
parent
5c13ba8d2e
commit
fdb417643d
1 changed files with 1 additions and 1 deletions
2
templates/install.tmpl
vendored
2
templates/install.tmpl
vendored
|
@ -99,7 +99,7 @@
|
||||||
<input id="domain" name="domain" value="{{.domain}}" placeholder="e.g. try.gitea.io" required>
|
<input id="domain" name="domain" value="{{.domain}}" placeholder="e.g. try.gitea.io" required>
|
||||||
<span class="help">{{.i18n.Tr "install.domain_helper"}}</span>
|
<span class="help">{{.i18n.Tr "install.domain_helper"}}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="inline required field">
|
<div class="inline field">
|
||||||
<label for="ssh_port">{{.i18n.Tr "install.ssh_port"}}</label>
|
<label for="ssh_port">{{.i18n.Tr "install.ssh_port"}}</label>
|
||||||
<input id="ssh_port" name="ssh_port" value="{{.ssh_port}}">
|
<input id="ssh_port" name="ssh_port" value="{{.ssh_port}}">
|
||||||
<span class="help">{{.i18n.Tr "install.ssh_port_helper"}}</span>
|
<span class="help">{{.i18n.Tr "install.ssh_port_helper"}}</span>
|
||||||
|
|
Loading…
Reference in a new issue