@extends('layouts.app') @section('main') @if (Auth::user()) {{--UUE ÄRGITUSE LOOMINE--}} @if(isset($updateStimulation))
{{ csrf_field() }} {{ method_field('PUT')}} @else @endif {{ csrf_field() }}

Sisesta uus ärgitus

@if (isset($updateStimulation)) @else @endif
{{--UUE ÄRGITUSE LOOMINE SIIANI--}} @endif {{--ÄRGITUSTE KUVAMINE--}} @if(count($stimulations) > 0) @foreach($stimulations as $stimulation)
{{ $stimulation->stimulation_name}}@if(Auth::user())
{{ csrf_field() }} {{ method_field('DELETE') }}
{{ csrf_field() }}
@endif
{{$stimulation->stimulation_description}}
@endforeach @else
Ärgitusi ei ole
@endif @endsection