@extends('layouts.yellow')
@section('content')   
    <div class="container-fluid">
        <div class="row">
            <div class="col-12 p-3">
                <div class="card">
                    <div class="card-header">
                        <h2>{{ __('create-history.titleView') }}</h2>
                    </div>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-12">
                <div style="margin-left:100px">
                    <img class="w-40" src="{{asset('img/folder.png')}}" alt="">
                </div>
            </div>
        </div>
    </div>
    <div class="container-fluid p-0">
        <div class="row">
            <div class="col-12 p-0">
                <x-HistoryForm :history="$history" :patients="$patients" :sectionTypes="$sectionTypes" :physicalTest="$physicalTest"></x-HistoryForm>
            </div>
        </div>
    </div>
    <div class="container-fluid p-3">
        <div class="row">
            <div class="col-12 text-center">
                <input id="btnSubmitHistory" class="btn btn-success" type="button" value="{{__('create-history.btnSubmit')}}">
                @csrf
            </div>
        </div>
    </div>
@endsection
@section('javascript') 
    <script src="{{ asset('js/history-form.js') }}" defer></script>
@endsection