Files
Sistema-Educativo-Laravel/resources/views/note/create.blade.php
T

32 lines
961 B
PHP

@extends('layouts.landing')
@section('title',"Crear")
@section('content')
<div class="container-fluid">
<div class="card shadow mb-4">
<div class="card-header py-3">
<h6 class="m-0 font-weight-bold text-primary">Crear Nota</h6>
</div>
<div class="card-body">
<a href="{{route('note.index')}}">Regresar</a>
<form action="{{route('note.store')}}" method="POST">
@csrf
<div class="mb-3">
<label class="small mb-1">title</label>
<input class="form-control" name="title">
</div>
<div class="mb-3">
<label class="small mb-1">description</label>
<input class="form-control" name="description">
</div>
<input class="btn btn-primary" type="submit" value="Create">
</form>
</div>
</div>
</div>
@endsection