I am trying to get a list of users submitted forms, each with image, title, description and an edit and delete button. I was trying to get them in a list without numbers or bullets, one after another, but I am not succeding, any help would be very much appreciated. Thank you in advance. Here is the code:
<div class="container-fluid">
<p><a href="/validated/shows/create-show" class="btn btn-primary" role="button">Create show</a></p>
@if(sizeof($shows) > 0)
@foreach($shows as $index => $show)
@if($index%3 == 0)
<div class="row">
@endif
<div class="col-sm-6 col-md-3">
<div class="thumbnail">
<img src="{{$show->path}}">
<div class="caption">
<h3>{{$show->title}}</h3>
<p>{{$show->description}}</p>
</div>
<p><a href="/validated/shows/edit-show/{{$show->id}}" class="btn btn-primary" role="button">Edit Show</a></p>
<form action="/validated/shows/delete-show" method="POST">
<input type="hidden" name="_token" value="{{ csrf_token() }}" required>
<input type="hidden" name="id" value="{{$show->id}}" required>
<p><a href="/validated/shows/delete-show/{{$show->id}}" class="btn btn-primary" role="button">Delete</a></p>
</form>
</div>
</div>
@if(($index+1)%3 == 0)
</div>
@endif
@endforeach
</div>