<div class="form-group {{ $errors->has('nome') ? 'has-error' : ''}}">
    <label for="nome" class="control-label">{{ 'Nome' }}</label>
    <input class="form-control" name="nome" type="text" id="nome" value="{{ isset($setor->nome) ? $setor->nome : ''}}" required>
    {!! $errors->first('nome', '<p class="help-block">:message</p>') !!}
</div>
<div class="form-group {{ $errors->has('sigla') ? 'has-error' : ''}}">
    <label for="sigla" class="control-label">{{ 'Sigla' }}</label>
    <input class="form-control" name="sigla" type="text" id="sigla" value="{{ isset($setor->sigla) ? $setor->sigla : ''}}" required>
    {!! $errors->first('sigla', '<p class="help-block">:message</p>') !!}
</div>
<div class="form-group {{ $errors->has('idSetorPai') ? 'has-error' : ''}}">
    <label for="idSetorPai" class="control-label">{{ 'Idsetorpai' }}</label>
    <input class="form-control" name="idSetorPai" type="number" id="idSetorPai" value="{{ isset($setor->idSetorPai) ? $setor->idSetorPai : ''}}" >
    {!! $errors->first('idSetorPai', '<p class="help-block">:message</p>') !!}
</div>


<div class="form-group">
    <input class="btn btn-primary" type="submit" value="{{ $formMode === 'edit' ? 'Update' : 'Create' }}">
</div>
