Estoy avanzando en el adminpanel
This commit is contained in:
21
resources/views/admin/posts/create.blade.php
Normal file
21
resources/views/admin/posts/create.blade.php
Normal file
@@ -0,0 +1,21 @@
|
||||
@extends('admin.base')
|
||||
|
||||
@section('title')
|
||||
<h1>Create Post</h1>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<form action="{{ route('admin.post.save') }}" method="post">
|
||||
@csrf
|
||||
<div>
|
||||
<label for="title">Titulo</label>
|
||||
<input type="text" id="title" name="title" required/>
|
||||
</div>
|
||||
<div>
|
||||
<label for="md">Contenido</label>
|
||||
<textarea id="md" name="md"></textarea>
|
||||
</div>
|
||||
<input type="submit" value="Crear"/>
|
||||
</form>
|
||||
|
||||
@endsection
|
||||
Reference in New Issue
Block a user