noble/resources/views/country/edit.blade.php

30 lines
894 B
PHP
Raw Permalink Normal View History

2023-05-16 15:54:23 +03:00
@extends('layout.master')
@section('content')
<div class="container mt-2">
<div class="row">
<div class="col-lg-12 margin-tb">
<div class="pull-left">
<h2>Edit Country</h2>
</div>
<div class="pull-right">
<a class="btn btn-primary" href="{{ route('countries.index') }}" enctype="multipart/form-data">
Back</a>
</div>
</div>
</div>
@if(session('status'))
<div class="alert alert-success mb-1 mt-1">
{{ session('status') }}
</div>
@endif
<form action="{{ route('countries.update',$country->id) }}" method="POST" enctype="multipart/form-data">
@csrf
@method('PUT')
<div class="row">
<button type="submit" class="btn btn-primary ml-3">Submit</button>
</div>
</form>
</div>
@endsection