Im trying to create a custom HTML 5 date field for using in a laravel 4 framework view.
{{
Form::macro('datetime', function($field_name)
{
return '';
});
}}
{{ Form::label('event_start', 'Event Date', array('class' => 'control-label')) }}
{{ Form::datetime('event_start') }}
The only problem is the value is not being populated, and i do not know how to do this.
Im using this form to create and edit a model called Event.
how can i populate the value of this field?