Skip to content

Commit fdb4176

Browse files
romankllafriks
authored andcommitted
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 <[email protected]>
1 parent 5c13ba8 commit fdb4176

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/install.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
<input id="domain" name="domain" value="{{.domain}}" placeholder="e.g. try.gitea.io" required>
100100
<span class="help">{{.i18n.Tr "install.domain_helper"}}</span>
101101
</div>
102-
<div class="inline required field">
102+
<div class="inline field">
103103
<label for="ssh_port">{{.i18n.Tr "install.ssh_port"}}</label>
104104
<input id="ssh_port" name="ssh_port" value="{{.ssh_port}}">
105105
<span class="help">{{.i18n.Tr "install.ssh_port_helper"}}</span>

0 commit comments

Comments
 (0)