@extends('maileclipse::layout.app') @section('title', 'New Template') @section('editor', true) @section('content')
@foreach( $skeletons->get('html') as $name => $subskeleton )
@if ( file_exists( public_path("vendor/maileclipse/images/skeletons/html/{$name}.png") ) ) {{ $name }} @elseif( file_exists( public_path( "vendor/maileclipse/images/skeletons/html/{$name}.jpg" ) ) ) {{ $name }} @else {{ $name }} @endif

{{ $name }}

@foreach($subskeleton as $skeleton) @endforeach @endforeach
@foreach( $skeletons->get('markdown') as $name => $subskeleton )
@if ( file_exists( public_path("vendor/maileclipse/images/skeletons/markdown/{$name}.png") ) ) {{ $name }} @elseif( file_exists( public_path( "vendor/maileclipse/images/skeletons/markdown/{$name}.jpg" ) ) ) {{ $name }} @else {{ $name }} @endif

{{ $name }}

@endforeach
@endsection