@include('components.inputs._inputType', [
'label' => __('Título'),
'name' => 'titulo',
'required' => true,
'old' => $edital?->titulo,
])
@include('components.inputs._textarea', [
'label' => __('Descrição') . ' (' . __('opcional') . ')',
'name' => 'descricao',
'value' => $edital?->descricao ?? '',
'rows' => 4,
])
@include('components.inputs._inputType', [
'label' => __('Data de publicação'),
'name' => 'data_publicacao',
'type' => 'date',
'old' => $edital?->data_publicacao?->format('Y-m-d'),
])
@include('components.inputs._inputType', [
'label' => __('Ordem de exibição'),
'name' => 'ordem',
'type' => 'number',
'old' => (string) ($edital?->ordem ?? 0),
])
@include('components.inputs._inputType', [
'label' => __('Link'),
'name' => 'link',
'type' => 'url',
'placeholder' => 'https://...',
'old' => $edital?->link,
])