Skip to content

Commit 50a8d2a

Browse files
committed
date
1 parent 3cc2d70 commit 50a8d2a

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/Models/Project.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ class Project extends Base
1717

1818
protected $presenter = 'TypiCMS\Modules\Projects\Presenters\ModulePresenter';
1919

20-
protected $dates = ['date'];
21-
2220
protected $fillable = array(
2321
'category_id',
2422
'image',

src/resources/views/admin/_form.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
{!! BootForm::text(trans('validation.attributes.tags'), 'tags')->value(implode(', ', $model->tags->lists('tag'))) !!}
2121
<div class="row">
2222
<div class="col-sm-6">
23-
{!! BootForm::date(trans('validation.attributes.date'), 'date')->value($model->present()->dateOrNow('date'))->placeholder(trans('validation.attributes.DDMMYYYY'))->addClass('datepicker') !!}
23+
{!! BootForm::date(trans('validation.attributes.date'), 'date')->value($model->present()->dateOrNow('date'))->placeholder(trans('validation.attributes.DDMMYYYY')) !!}
2424
</div>
2525
</div>
2626
{!! BootForm::text(trans('validation.attributes.website'), 'website')->placeholder('http://') !!}

0 commit comments

Comments
 (0)