@extends("layouts.main") @section('title', Lang::get('Soru Düzenle')) @section('content')
@lang('Anket Bilgisi')
@lang('Başlık'): {{ $survey->title }}
@lang('Durum'): @if($survey->isActive) @lang('Aktif') @else @lang('Pasif') @endif
@csrf @method('PUT')
@error('question') {{ $message }} @enderror
@error('type') {{ $message }} @enderror
@error('order') {{ $message }} @enderror
isRequired) ? 'checked' : '' }}>
isActive) ? 'checked' : '' }}>
@if($question->options && count($question->options) > 0) @foreach($question->options as $index => $option)
@if($index == 0) @else @endif
@endforeach @else
@endif
@lang('En az 2 seçenek eklemelisiniz. Boş seçenekler otomatik olarak kaldırılacaktır.')
@error('reportText') {{ $message }} @enderror
@endsection