show dates/times in user's timezone

This commit is contained in:
Nabeel Shahzad
2017-12-23 11:58:17 -06:00
parent eb6e624a4d
commit 3b8621371a
11 changed files with 110 additions and 22 deletions

View File

@@ -42,6 +42,14 @@
<p class="text-danger">{{ $errors->first('home_airport_id') }}</p>
@endif
<label for="timezone" class="control-label">Timezone</label>
<div class="input-group form-group-no-border{{ $errors->has('timezone') ? ' has-danger' : '' }}">
{!! Form::select('timezone', $timezones, null, ['id'=>'timezone', 'class' => 'form-control select2' ]); !!}
</div>
@if ($errors->has('timezone'))
<p class="text-danger">{{ $errors->first('timezone') }}</p>
@endif
<label for="password" class="control-label">Password</label>
<div class="input-group form-group-no-border{{ $errors->has('password') ? ' has-danger' : '' }}">
{!! Form::password('password', ['class' => 'form-control']) !!}