@extends("layouts.main") @section('title', Lang::get('Soru Düzenle')) @section('content') @lang('Soru Düzenle') @lang('Geri Dön') @lang('Detay') @lang('Anket Bilgisi') @lang('Başlık'): {{ $survey->title }} @lang('Durum'): @if($survey->isActive) @lang('Aktif') @else @lang('Pasif') @endif @csrf @method('PUT') @lang('Soru Metni') * {{ old('question', $question->question) }} @error('question') {{ $message }} @enderror @lang('Soru Tipi') * @lang('Seçiniz') @foreach($questionTypes as $key => $value) type) == $key ? 'selected' : '' }}>{{ $value }} @endforeach @error('type') {{ $message }} @enderror @lang('Sıra') @error('order') {{ $message }} @enderror isRequired) ? 'checked' : '' }}> @lang('Zorunlu Soru') isActive) ? 'checked' : '' }}> @lang('Aktif') @lang('Seçenekler') * @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.') @lang('Rapor Metni') {{ old('reportText', $question->reportText) }} @error('reportText') {{ $message }} @enderror @lang('Oluşturma Tarihi') @lang('Güncelleme Tarihi') @lang('Güncelle') @endsection