Set default log path if empty during install

This commit is contained in:
Josh Frye 2016-02-12 10:03:04 -05:00
parent 1feecd6beb
commit ec478b4b06
2 changed files with 12 additions and 2 deletions

View file

@ -109,9 +109,9 @@
<input id="app_url" name="app_url" value="{{.app_url}}" placeholder="e.g. https://try.gogs.io" required>
<span class="help">{{.i18n.Tr "install.app_url_helper"}}</span>
</div>
<div class="inline required field">
<div class="inline field">
<label for="log_root_path">{{.i18n.Tr "install.log_root_path"}}</label>
<input id="log_root_path" name="log_root_path" value="{{.log_root_path}}" placeholder="log" required>
<input id="log_root_path" name="log_root_path" value="{{.log_root_path}}" placeholder="log">
<span class="help">{{.i18n.Tr "install.log_root_path_helper"}}</span>
</div>