@extends('layouts.main') @push('styles') @endpush @section('content')

{{ __('symptoms.edit_all_symptoms') }}

@include('clinical_data::symptoms.menu')
@include('flash::message')
{{ Form::model($symptoms, ['method' => 'ANY', 'route' => ['symptoms.update_all'], 'data-toggle' => 'validator']) }}
@foreach($symptoms as $symptom) @endforeach
{{ __('symptoms.symptom') }} {{ __('symptoms.prompt') }} {{ __('symptoms.reference_text') }} {{ __('symptoms.reference_link') }}
{{ __('symptoms.symptom') }} {{ __('symptoms.prompt') }} {{ __('symptoms.reference_text') }} {{ __('symptoms.reference_link') }}

{{ $symptom->name }}

{{ Form::text('name[]', $symptom->name, ['class' => 'form-control compulsory', 'required']) }}
{{ Form::textArea('prompts[]', $symptom->prompts, ['class' => 'form-control', 'rows' => 2]) }} {{ Form::textArea('reference_text[]', $symptom->reference_text, ['class' => 'form-control', 'rows' => 2]) }} {{ Form::textArea('reference_link[]', $symptom->reference_link, ['class' => 'form-control', 'rows' => 2]) }}
{{ Form::button(__('symptoms.submit'),['type'=>'submit','class'=>'btn btn-success waves-effect waves-light m-r-10']) }} {{ Form::button(__('symptoms.cancel'),['type'=>'reset','class'=>'btn btn-default waves-effect waves-light']) }} {{ Form::close() }}
@include('clinical_data::symptoms.menu') @endsection @push('scripts') @endpush