diff options
author | romankl <romankl@users.noreply.github.com> | 2018-11-29 17:47:57 +0100 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2018-11-29 18:47:57 +0200 |
commit | fdb417643df652d9071dc4cdd7abe2100ddb5885 (patch) | |
tree | 7b7daf4471842e665abbabc40eaa9bbbfcc36d99 /templates/install.tmpl | |
parent | 5c13ba8d2e8e3688b1ee2f912a4d4e8a57a33021 (diff) | |
download | gitea-fdb417643df652d9071dc4cdd7abe2100ddb5885.tar.gz gitea-fdb417643df652d9071dc4cdd7abe2100ddb5885.zip |
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>
Diffstat (limited to 'templates/install.tmpl')
-rw-r--r-- | templates/install.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/install.tmpl b/templates/install.tmpl index 46439b4979..f45052ccd0 100644 --- a/templates/install.tmpl +++ b/templates/install.tmpl @@ -99,7 +99,7 @@ <input id="domain" name="domain" value="{{.domain}}" placeholder="e.g. try.gitea.io" required> <span class="help">{{.i18n.Tr "install.domain_helper"}}</span> </div> - <div class="inline required field"> + <div class="inline field"> <label for="ssh_port">{{.i18n.Tr "install.ssh_port"}}</label> <input id="ssh_port" name="ssh_port" value="{{.ssh_port}}"> <span class="help">{{.i18n.Tr "install.ssh_port_helper"}}</span> |