Commit 2155fd4e by Pancholin

ortografia

parent c2eeb86b
......@@ -152,7 +152,7 @@ class AdminBlogController extends Controller
"<p class='mb0'>Visitas: <b>".$entry->views."</b></p>";
})
->addColumn('form', function ($entry) {
return "<form method='POST' action='".route('delete.entry',$entry->id)."'>".
return "<center><form method='POST' action='".route('delete.entry',$entry->id)."'>".
csrf_field() .
"<button class='btn btn-danger btn-xs button-mb' onclick='return confirm();' type='submit'>".
"<i class='fas fa-trash-alt icon-special-size'></i>Eliminar</button>".
......@@ -160,7 +160,7 @@ class AdminBlogController extends Controller
"<a href='".route('show.blog', $entry->slug)."' class='btn btn-xs info button-mb' target='new'>".
"<i class='fas fa-eye icon-special-size'></i>Ver</a>".
"<br><a href='".route('blog.admin.entry.edit', $entry->id)."' class='btn btn-xs accent mb0'>".
"<i class='fas fa-edit icon-special-size'></i>Editar</a>";
"<i class='fas fa-edit icon-special-size'></i>Editar</a></center>";
})
->filterColumn('preview', function($query, $keyword) {
$query->whereRaw("title like ?", ["%{$keyword}%"]);
......
......@@ -72,7 +72,7 @@
</td>
<td> {{$category->description}}</td>
<td> {{$category->entries->count()}}</td>
<td>
<td class="text-center">
{!! Form::open(['route'=> ['blog.admin.category.destroy',$category->id],'method'=>'DELETE'])!!}
<button class='btn btn-danger btn-xs button-mb' onclick="return confirm('¿Estás seguro de eliminar este elemento?');" type='submit'>
<i class='fas fa-trash-alt icon-special-size'></i>
......
......@@ -63,7 +63,7 @@
<tr>
<td> {{$tag->id}}</td>
<td> {{$tag->description}}</td>
<td>
<td class="text-center">
{!! Form::open(['route'=> ['blog.admin.tag.destroy',$tag->id],'method'=>'DELETE'])!!}
<button class='btn btn-danger btn-xs button-mb' onclick="return confirm('¿Estás seguro de eliminar este elemento?');" type='submit'>
<i class='fas fa-trash-alt icon-special-size'></i>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment