mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-10 07:34:06 -08:00
Fixed datepicker in asset checkout
This commit is contained in:
parent
bdb95e4e3d
commit
9c29ee9c6d
|
@ -65,20 +65,19 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Checkout/Checkin Date -->
|
<!-- Checkout/Checkin Date -->
|
||||||
<div class="form-group {{ $errors->has('checkin_at') ? 'error' : '' }}">
|
<div class="form-group{{ $errors->has('checkin_at') ? ' has-error' : '' }}">
|
||||||
{{ Form::label('name', trans('admin/hardware/form.checkin_date'), array('class' => 'col-md-3 control-label')) }}
|
{{ Form::label('checkin_at', trans('admin/hardware/form.checkin_date'), array('class' => 'col-md-3 control-label')) }}
|
||||||
<div class="col-md-8">
|
<div class="col-md-8">
|
||||||
<div class="col-md-4 input-group required">
|
<div class="input-group col-md-5 required">
|
||||||
<input type="date" class="datepicker form-control"
|
<div class="input-group date" data-provide="datepicker" data-date-format="yyyy-mm-dd" data-autoclose="true">
|
||||||
data-date-format="yyyy-mm-dd" placeholder="Checkin Date"
|
<input type="text" class="form-control" placeholder="{{ trans('general.select_date') }}" name="checkin_at" id="checkin_at" value="{{ Input::old('checkin_at', date('Y-m-d')) }}">
|
||||||
name="checkin_at" id="checkin_at"
|
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
|
||||||
value="{{ Input::old('checkin_at', date('Y-m-d')) }}">
|
|
||||||
<span class="input-group-addon"><i
|
|
||||||
class="fa fa-calendar"></i></span>
|
|
||||||
</div>
|
|
||||||
{!! $errors->first('checkin_at', '<span class="alert-msg"><i class="fa fa-times"></i> :message</span>') !!}
|
|
||||||
</div>
|
</div>
|
||||||
|
{!! $errors->first('checkin_at', '<span class="alert-msg"><i class="fa fa-times"></i> :message</span>') !!}
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<!-- Note -->
|
<!-- Note -->
|
||||||
<div class="form-group {{ $errors->has('note') ? 'error' : '' }}">
|
<div class="form-group {{ $errors->has('note') ? 'error' : '' }}">
|
||||||
|
|
Loading…
Reference in a new issue