|
|
@@ -57,6 +57,7 @@ use yii\widgets\ActiveForm; |
|
|
|
<?= $form->field($model, 'slug') ?> |
|
|
|
<?= $form->field($model, 'name') ?> |
|
|
|
<?= $form->field($model, 'type')->textInput(['placeholder' => 'Boulangerie, brasserie, ferme ...']); ?> |
|
|
|
<?= $form->field($model, 'address')->textarea(['rows' => 4]) ?> |
|
|
|
<?= $form->field($model, 'postcode') ?> |
|
|
|
<?= $form->field($model, 'city') ?> |
|
|
|
<?= $form->field($model, 'contact_email') ?> |
|
|
@@ -70,6 +71,47 @@ use yii\widgets\ActiveForm; |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="col-md-6"> |
|
|
|
|
|
|
|
<div class="panel panel-default"> |
|
|
|
<div class="panel-heading"> |
|
|
|
<h3 class="panel-title"> |
|
|
|
<i class="fa fa-copy"></i> |
|
|
|
Données à copier |
|
|
|
</h3> |
|
|
|
</div> |
|
|
|
<div class="panel-body"> |
|
|
|
<ul class="list-group list-group-unbordered"> |
|
|
|
<li class="list-group-item"> |
|
|
|
<strong>Email</strong> |
|
|
|
<span class="pull-right"> |
|
|
|
<a class="btn btn-xs btn-default" href="mailto:<?= $model->contact_email ?>"> |
|
|
|
<span class="glyphicon glyphicon-send"></span> |
|
|
|
</a> |
|
|
|
<a class="btn btn-xs btn-default clipboard-paste" data-clipboard-paste="<?= $model->contact_email ?>"> |
|
|
|
<span class="glyphicon glyphicon-copy"></span> |
|
|
|
</a> |
|
|
|
</span> |
|
|
|
</li> |
|
|
|
<li class="list-group-item"> |
|
|
|
<strong>Url courte boutique</strong> |
|
|
|
<span class="pull-right"> |
|
|
|
<a class="btn btn-xs btn-default clipboard-paste" data-clipboard-paste="<?= $model->getShortShopUrl() ?>"> |
|
|
|
<span class="glyphicon glyphicon-copy"></span> |
|
|
|
</a> |
|
|
|
</span> |
|
|
|
</li> |
|
|
|
<li class="list-group-item"> |
|
|
|
<strong>Url connexion / inscription</strong> |
|
|
|
<span class="pull-right"> |
|
|
|
<a class="btn btn-xs btn-default clipboard-paste" data-clipboard-paste="<?= $model->getLoginSignupUrl() ?>"> |
|
|
|
<span class="glyphicon glyphicon-copy"></span> |
|
|
|
</a> |
|
|
|
</span> |
|
|
|
</li> |
|
|
|
</ul> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="panel panel-default"> |
|
|
|
<div class="panel-heading"> |
|
|
|
<h3 class="panel-title"> |