@extends('layouts.app')
@section('title')
    {{__('messages.appointment.add_new_appointment')}}
@endsection
@section('content')
    <div class="container-fluid">
        <div class="d-flex justify-content-between align-items-end mb-5">
            <h1>Edit User Agent</h1>
            <a href="{{ route('useragent.index') }}"
               class="btn btn-outline-primary float-end">Back</a>
        </div>
        <div class="card">
            <div class="card-body">
                {{ Form::open(['route' => ['useragent.update',$agent->id], 'id' => 'addUseragentForm' ]) }}
                @method('put')
                @include('user_agent.edit_fields')
                {{ Form::close() }}
            </div>
        </div>
    </div>
@endsection
