ldc-crm/resources/views/brands/manage.blade.php
Romain Bonhomme 328e38ce38 Init
2020-12-01 17:02:10 +01:00

23 lines
978 B
PHP

@extends('layout.app')
@section('content')
<div class="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pt-3 pb-2 mb-3 border-bottom">
<h2>Gestion des marques <small class="text-muted">Gestion</small></h2>
@if (session('success'))
<span class="text-success text-center">{!! session('success') !!}</span>
@endif
<a href="{{ route('brands') }}" class="btn btn-sm btn-primary float-right">Retour</a>
</div>
<div class="form-group">
<form action="{{ route('manage-brand', $brand ? $brand->id : null) }}" method="POST">
@csrf
<div class="form-group form-row">
<label class="col-form-label col">Nom de la marque</label>
<input type="text" name="name" class="form-control col" value="{{ $brand ? $brand->name : null }}">
</div>
<div class="text-center">
<input type="submit" class="btn btn-success" value="Enregistrer">
</div>
</form>
</div>
@endsection