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

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

@include('clinical_data::symptoms.menu')
@include('flash::message')
{{ Form::open(['route' => 'symptoms.store', 'data-toggle' => 'validator']) }}
{{ Form::label('name', __('symptoms.symptom')) }} {{ Form::text('name', '', ['class' => 'form-control compulsory', 'required']) }}
{{ Form::label('prompts', __('symptoms.prompt')) }} {{ Form::textArea('prompts', '', ['class' => 'form-control', 'rows' => 5]) }}
{{ Form::label('reference_text', __('symptoms.reference_area')) }}
{{ Form::text('reference_text[]', '', ['class'=>'form-control', 'placeholder' => 'reference name']) }}
{{ Form::url('reference_link[]', '', ['class'=>'form-control', 'placeholder' => 'eg http://www.google.com']) }}
{{ Form::label('', __('symptoms.is_symptom_available'), ["class"=>'col-md-12']) }}  {{ __('symptoms.yes') }} {{ Form::radio('available', 1, false, ["required", 'class' => 'check form-control', 'data-radio'=>'iradio_flat-green']) }}  {{ __('symptoms.no') }} {{ Form::radio('available', 0, false, ["required", 'class' => 'check form-control', 'data-radio'=>'iradio_flat-green']) }}
{{ Form::button(__('symptoms.submit'),['type'=>'submit','class'=>'btn btn-success btn-rounded waves-effect waves-light m-r-10']) }} {{ Form::button(__('symptoms.cancel'),['type'=>'reset','class'=>'btn btn-default btn-rounded waves-effect waves-light']) }} {{ Form::close() }}
@endsection @push('scripts') @endpush