@extends('layouts.admin') @section('meta') {{trans('home.edit_survey')}} @endsection @section('content')
{!! Form::open(['method'=>'PATCH','url' => 'admin/surveys/'.$survey->id, 'data-toggle'=>'validator', 'files'=>'true']) !!}
{{trans('home.surveys')}}

@can('status_or_publish_field')

{{trans('home.publish')}}

@endcan
{{trans('home.survey_questions')}}

@if(count($surveyQuestions) > 0) @foreach($surveyQuestions as $key=>$question)
@endforeach @else
@endif
{!! Form::close() !!} @foreach($surveyQuestions as $key=>$question) @endforeach
@endsection @section('script') @endsection