{{ Form::open(array('url' => $action, 'method' => $method)) }}
{{ Form::defName('title', "Judul", $poll->title, ['required']) }}
{{ Form::defdescription('description', "Deskripsi", $poll->description, ['required']) }}
{{ Form::defDate('startdate', 'Tgl. Mulai', $poll->startdate, ['required']) }}
{{ Form::defTime('starttime', 'Jam Mulai', $poll->startdate, ['required']) }}
{{ Form::defDate('enddate', 'Tgl. Berakhir', $poll->enddate, ['required']) }}
{{ Form::defTime('endtime', 'Jam Berakhir', $poll->enddate, ['required']) }}
@if (empty($poll->options)) @else @php $options = json_decode($poll->options, true); @endphp @foreach ($options as $index => $o) @endforeach @endif
@if ($index != 0) @endif
ADD NEW
{{ Form::defSubmitDefault('SIMPAN') }} Batal {{ Form::close() }} @push('scripts') @endpush