mas css, la parte de adminn esta casi casi <3
This commit is contained in:
@@ -8,14 +8,18 @@
|
||||
<form class="pure-form pure-form-stacked" action="{{ route('admin.post.update', ['post' => $post->id]) }}" method="post">
|
||||
@csrf
|
||||
<fieldset>
|
||||
<h1>Editar Post</h1>
|
||||
<a href="{{ route('admin.post.index') }}" class="pure-button button-black-white">Volver</a>
|
||||
|
||||
<label for="title">Titulo</label>
|
||||
<input type="text" id="title" name="title" value="{{ old('title', $post->title) }}" required/>
|
||||
|
||||
<label for="md">Contenido</label>
|
||||
<textarea id="md" name="md">{{ old('md', $post->md) }}</textarea>
|
||||
|
||||
<div class="control">
|
||||
<button type="submit" class="pure-button button-black-white">Actualizar</button>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
</form>
|
||||
@endsection
|
||||
|
||||
Reference in New Issue
Block a user