LaraForms
@csrf
Logout
@foreach ($form->questions as $index => $question)
type === 'multiple_choice' ? 'selected' : '' }}>Multiple Choice
type === 'checkbox' ? 'selected' : '' }}>Checkbox
type === 'dropdown' ? 'selected' : '' }}>Dropdown
type === 'text' ? 'selected' : '' }}>Text
@if ($question->options)
@foreach (json_decode($question->options) as $optionIndex => $option)
@endforeach
@endif
@endforeach
@csrf @method('PATCH')
{{ $form->is_published ? 'Unpublish' : 'Publish' }}
Return to Forms