Fix maintenance mode form.

Signed-off-by: Thomas Hochstein <thh@inter.net>
This commit is contained in:
Thomas Hochstein 2019-04-27 13:42:45 +02:00
parent e82571beed
commit 14893629ba

View File

@ -105,9 +105,11 @@
<p>{$CONST.MAINTENANCE_MODE_TIME}: {$maintenance_mode_end}
<button type="submit">{$CONST.MAINTENANCE_MODE_DEACTIVATE}</button></p>
{else}
<div class="form_select">
<label>{$CONST.MAINTENANCE_MODE_DURATION}</label>
<input type="number" name="hours" min="0" value="1" style="width: 3em";/>
<button type="submit">{$CONST.MAINTENANCE_MODE_ACTIVATE}</button>
</div>
{/if}
</form>