@extends('layouts.publicador.novo_padrao') @section('content')

Menu Pesquisa {{ empty($model->id) ? __('labels.acoes.adicionar') : __('labels.acoes.alterar') }}

@if ($errors->any())
@lang('labels.msg.verifique')
@endif @if (empty($model->id)) {!! Form::open(['route' => ['publicador.menupesquisa.salvar'], 'class' => 'form form-edit']) !!} @else {!! Form::model($model, ['route' => ['publicador.menupesquisa.salvar'], 'method' => 'put']) !!} {{ Form::hidden('id') }} @endif
{{ Form::label('site', 'Site', ['class' => 'form-label']) }} {{ Form::text('site', null, [ 'class' => 'form-control ' . ($errors->has('site') ? 'is-invalid' : ''), 'maxlength' => 100, 'placeholder' => 'Site', ]) }} @if ($errors->has('site'))
{{ $errors->first('site') }}
@endif
{{ Form::label('page', 'Página', ['class' => 'form-label']) }} {{ Form::text('page', null, [ 'class' => 'form-control ' . ($errors->has('page') ? 'is-invalid' : ''), 'maxlength' => 100, 'placeholder' => 'Página', ]) }} @if ($errors->has('page'))
{{ $errors->first('page') }}
@endif
{{ Form::label('title', 'Título', ['class' => 'form-label']) }} {{ Form::text('title', null, [ 'class' => 'form-control ' . ($errors->has('title') ? 'is-invalid' : ''), 'maxlength' => 200, 'placeholder' => 'Título', ]) }} @if ($errors->has('title'))
{{ $errors->first('title') }}
@endif
{{ Form::label('url', 'URL', ['class' => 'form-label']) }} {{ Form::text('url', null, [ 'class' => 'form-control ' . ($errors->has('url') ? 'is-invalid' : ''), 'maxlength' => 255, 'placeholder' => 'URL', ]) }} @if ($errors->has('url'))
{{ $errors->first('url') }}
@endif
{{ Form::label('keywords', 'Palavras-chave', ['class' => 'form-label']) }} {{ Form::text('keywords', null, [ 'class' => 'form-control ' . ($errors->has('keywords') ? 'is-invalid' : ''), 'maxlength' => 255, 'placeholder' => 'Palavras-chave', ]) }} @if ($errors->has('keywords'))
{{ $errors->first('keywords') }}
@endif
@lang('labels.acoes.cancelar')
{!! Form::close() !!}
@endsection