Gerar template
@php
$params = ['route' => 'template.create', 'id' => 'form'];
if ($request->has('url')){
$params['class'] = 'd-none';
}
@endphp
{{ Form::open($params) }}
{{ Form::label('url', 'URL das notÃcias (uma por linha)') }}
@for ($i = 1; $i <= 9; $i++)
@endfor
{{ Form::submit('Enviar', ['class' => 'btn btn-primary']) }}
{{ Form::close() }}
@if ($request->has('url'))
@endif
@if (isset($nodes))
{!! $table_top_html !!}
{!! $html_nodes !!}
{!! $table_bottom_html !!}
@if (isset($html))
{{ Form::label('html', 'Template (HTML)') }}
{{ Form::textarea('html', $html, ['id' => 'html', 'class' => 'form-control', 'rows' => 20]) }}
@endif
@endif