51 lines
1.5 KiB
PHP
51 lines
1.5 KiB
PHP
@extends('layouts.layout-2')
|
|
|
|
@section('content')
|
|
|
|
@if ($errors->any())
|
|
<div class="row">
|
|
<div class="col-sm-12">
|
|
<div class="alert alert-danger">
|
|
<ul>
|
|
@foreach ($errors->all() as $error)
|
|
<li>{{ $error }}</li>
|
|
@endforeach
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endif
|
|
|
|
|
|
<h4 class="font-weight-bold mb-4">
|
|
Content Tools: Links
|
|
</h4>
|
|
|
|
|
|
<div class="card mb-4">
|
|
|
|
<div class="card-body">
|
|
<!-- Controls -->
|
|
{!! Form::open(['url' => url()->current(), 'class' => '']) !!}
|
|
<div class="form-group mb-1">
|
|
<label class="form-label" for="description">Description</label>
|
|
{{ Form::textarea('text', $text, array('class'=>'form-control', 'rows'=>1)) }}
|
|
</div>
|
|
<button type="submit" name="action" value="first_run" class="btn btn-primary"><i class="ion"></i> first run</button>
|
|
<button type="submit" name="action" value="next_run" class="btn btn-primary"><i class="ion"></i> next run</button>
|
|
|
|
{!! Form::close() !!}
|
|
</div>
|
|
|
|
@if(count($values)>0)
|
|
<div class="card-body">
|
|
<!-- Controls -->
|
|
@foreach($values as $value)
|
|
<pre>{{$value->billing_email}} | {{$value->orders}}</pre>
|
|
@endforeach
|
|
</div>
|
|
@endif
|
|
</div>
|
|
|
|
@endsection
|
|
|