diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/user_shifts.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/user_shifts.html b/templates/user_shifts.html index b1b7ac1a..2fdade29 100644 --- a/templates/user_shifts.html +++ b/templates/user_shifts.html @@ -19,7 +19,7 @@ <div class="form-group">%start_select%</div> <div class="form-group"> <div class="input-group"> - <input type="time" class="form-control" id="start_time" name="start_time" size="5" + <input class="form-control" id="start_time" name="start_time" size="5" pattern="^\d{1,2}:\d{2}$" placeholder="HH:MM" maxlength="5" value="%start_time%"> <div class="input-group-btn"> <button class="btn btn-default" title="Now" type="button" onclick="set_to_now('start');"> @@ -32,7 +32,7 @@ <div class="form-group">%end_select%</div> <div class="form-group"> <div class="input-group"> - <input type="time" class="form-control" id="end_time" name="end_time" size="5" + <input class="form-control" id="end_time" name="end_time" size="5" pattern="^\d{1,2}:\d{2}$" placeholder="HH:MM" maxlength="5" value="%end_time%"> <div class="input-group-btn"> <button class="btn btn-default" title="Now" type="button" onclick="set_to_now('end');"> |