@extends('layouts.dashboard') @section('content') .row .col-md-12 .box .box-header.dark %h2 Listado de Landings %span %a.btn.btn-xs.btn-info.button-ml{:href=>"{{route('landing.pages.create')}}"} %i.fas.fa-plus Agregar landing .box-body %table.table %tr %th # %th{:width=>"25%"} Landing %th Contenido %th @foreach($landings as $l) %tr %td = $l->id %td %h5 = $l->name URL Slug: %b = $l->slug %br Estatus: %b = $l->status ? "Activo" : "Inactivo" %br %td Texto Boton: %b = $l->name %br Texto 1: %b = $l->text1 %br Texto 2: %b = $l->text2 %br Texto 3: %b = $l->text3 %td {!! Form::open(['route'=> ['landing.pages.destroy',$l->id],'method'=>'DELETE'])!!} %button.btn.btn-danger.btn-xs.button-mb{:onclick => "return confirm('¿Estas seguro de eliminar este elemento?');", :type => "submit"} %i.fas.fa-trash-alt.icon-special-size Eliminar {!! Form::close()!!} %a.btn.btn-xs.accent.button-mb{:href=>"{{route('landing.pages.edit', $l->id)}}"} %i.fas.fa-edit.icon-special-size Editar %a.btn.btn-xs.info{:href=>"{{route('show.landing', $l->slug)}}", :target=>"new"} %i.fas.fa-eye.icon-special-size Ver @endforeach .dker.p-a.text-right @endsection @section('script_extras') @endsection