I am trying to get the delete link to the extreme right of the edit link I tried with pull right which was depreciated and replaced it with the float-right but didnot work. screenshot:
@extends('layouts.app')
@section('content')
<br>
<a href ="/posts" class="btn btn-default">Back</a>
<h1></h1>
<div>
{!! $post->body!!}
</div>
<hr>
<small>Written on </small>
<hr>
<a href="/posts//edit" class="btn btn-default">Edit</a>
{!! Form::open(['action'=>['PostsController@destroy',$post->id,'method'=>'POST','class'=>'float-right']])!!}
{!! Form::close() !!}
@endsection
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire