Commit b2f84c21 authored by Nicolas Widart's avatar Nicolas Widart

Adding preview image section

parent ad5489d5
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
@section('content') @section('content')
{!! Form::open(['route' => ['dashboard.media.update', $file->id], 'method' => 'put']) !!} {!! Form::open(['route' => ['dashboard.media.update', $file->id], 'method' => 'put']) !!}
<div class="row"> <div class="row">
<div class="col-md-12"> <div class="col-md-8">
<div class="nav-tabs-custom"> <div class="nav-tabs-custom">
<ul class="nav nav-tabs"> <ul class="nav nav-tabs">
<?php $i = 0; ?> <?php $i = 0; ?>
...@@ -45,6 +45,9 @@ ...@@ -45,6 +45,9 @@
</div> </div>
</div> {{-- end nav-tabs-custom --}} </div> {{-- end nav-tabs-custom --}}
</div> </div>
<div class="col-md-4">
<img src="{{ $file->path }}" alt="{{ $file->translate()->alt_attribute }}" style="width: 100%;"/>
</div>
</div> </div>
{!! Form::close() !!} {!! Form::close() !!}
......
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