@if($page == 'notification-templates')
{{ Form::model($data, ['route' => ['notification-templates.update', $data->id], 'method' => 'patch', 'button-loader' => 'true']) }}
@include('notificationtemplates.form')
{{ Form::close() }}
@elseif($page == 'mail-templates')
{{ Form::model($data, ['route' => ['mail-templates.update', $data->id], 'method' => 'patch', 'button-loader' => 'true']) }}
@include('mailtemplates.form')
{{ Form::close() }}
@endif