@t('Membership Program')
{!! Form::open([
'data-toggle' => 'validator',
'class' => 'event-form'
]) !!}
{!! Form::token() !!}
{!! page_content('membership-description') !!}
{!! Form::checkbox(
'data[Membership][membership]',
1,
(
isset($data->Membership->membership) &&
$data->Membership->membership ?
true : false
),
[
'required',
(
isset($data->Membership->membership) &&
$data->Membership->membership ?
'disabled' : null
)
]
) !!}
@php
$weekdays = [
1 => t('Monday'),
2 => t('Tuesday'),
3 => t('Wednesday'),
4 => t('Thursday'),
5 => t('Friday'),
6 => t('Saturday'),
7 => t('Sunday')
];
@endphp
{!! Form::close() !!}