@extends ('backend.layouts.app') @section('page-header')

{{ trans('labels.backend.sms.single') }}

@endsection @section('after-styles') @endsection @section('content') {{ Form::open(['route' => 'admin.sms.patient.send', 'class' => 'form-horizontal', 'role' => 'form', 'method' => 'post', 'id' => 'create-appointment']) }}
{{--

{{ trans('labels.backend.sms.details') }}

--}}
{!! Form::label('pacient_label','Pacient',['class' => 'col-lg-2 control-label']) !!}
@if(!empty($pacient)) {!! Form::select('patient_id',[$pacient->id=>$pacient->name],null,['class'=>'form-control areas', 'id'=>'patient_id']) !!} @else {!! Form::select('patient_id',[0=>'Alege un pacient'],null,['class'=>'form-control areas', 'id'=>'patient_id']) !!} @endif
{{ Form::label('details', 'Mesaj', ['class' => 'col-lg-2 control-label']) }}
{{ Form::textarea('message', null, ['class' => 'form-control']) }}
{{ Form::submit(trans('labels.backend.sms.send'), ['class' => 'btn btn-success btn-m']) }}
{{ Form::close() }} @endsection @section('after-scripts') @endsection