new: add a link to public article page from article and offres admin edit form
This commit is contained in:
@@ -1,6 +1,15 @@
|
||||
{{ Form::open(['route' => 'Admin.Shop.Offers.store', 'id' => 'offer-form', 'autocomplete' => 'off']) }}
|
||||
<input type="hidden" name="id" value="{{ $offer['id'] ?? false }}">
|
||||
|
||||
@if (($offer['id'] ?? false) && ($offer['article_id'] ?? false))
|
||||
<div class="d-flex justify-content-end mb-3">
|
||||
<a href="{{ route('Shop.Articles.show', ['id' => $offer['article_id']]) }}" class="btn btn-outline-primary" target="_blank" rel="noopener">
|
||||
Voir la page publique de l'article
|
||||
<i class="fa fa-external-link"></i>
|
||||
</a>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<div class="row mb-3">
|
||||
<div class="col-8">
|
||||
<div class="row mb-3">
|
||||
|
||||
Reference in New Issue
Block a user