@extends('layouts.master') @section('browserTitle') @if(isset($_SESSION['logged'])&&($_SESSION['logged']==true)) @if(isset($input)) {{ trans('menu.editInput') }} @else {{ trans('menu.addInput') }} @endif @endif @endsection @section('breadcrumb') @if(isset($_SESSION['logged'])&&($_SESSION['logged']==true)) @endif @endsection @section('title') Text completion @endsection @section('subtitle') @if(isset($_SESSION['logged'])&&($_SESSION['logged']==true)) @if(isset($input)) {{ trans('menu.editInput') }} @else {{ trans('menu.addInput') }} @endif @endif @endsection @section('body')

{{ trans('ex.instructions') }}

{{ trans('ex.txtCmplExLongDescription') }}

{!! trans('ex.txtCmplInputInstrL1') !!}

{!! trans('ex.txtCmplInputInstrL2') !!}

{!! trans('ex.txtCmplInputInstrL3') !!}

@if(isset($input))
@method('PUT') @else @endif @csrf

{{ trans('ex.insertInput') }}

@if(isset($input)) @else @endif
@for($i = 1; $i <= 3; $i++) @endfor
@if(isset($input)) @else @endif
@if(isset($input)) @foreach($input->stories as $story) @if($loop->index == 0) @endif @endforeach @else @endif
@if(isset($input)) @foreach($input->targets as $target) @if($loop->index == 0) @endif @endforeach @else @endif
@if(isset($input)) @foreach($input->distractors as $distractor) @if($loop->index == 0) @endif @endforeach @else @endif
@if(isset($input)) @foreach($input->stories as $story) @if($loop->index == 1) @endif @endforeach @else @endif
@if(isset($input)) @foreach($input->stories as $story) @if($loop->index > 1)
@endif @endforeach @endif
@if(isset($input)) @else @endif
@endsection