@extends('voyager::master') @section('css') @stop @section('page_title', __('voyager::generic.'.(!is_null($dataTypeContent->getKey()) ? 'edit' : 'add')).' Usuario') @section('page_header')

{{ __('voyager::generic.'.(!is_null($dataTypeContent->getKey()) ? 'edit' : 'add')).' Usuario' }}

@include('voyager::multilingual.language-selector') @stop @section('content')
@if(!is_null($dataTypeContent->getKey())) {{ method_field("PUT") }} @endif {{ csrf_field() }}
@if (count($errors) > 0)
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @php $dataTypeRows = $dataType->{(!is_null($dataTypeContent->getKey()) ? 'editRows' : 'addRows' )}; @endphp @foreach($dataTypeRows as $row) @php $display_options = isset($row->details->display) ? $row->details->display : NULL; @endphp @if (isset($row->details->legend) && isset($row->details->legend->text)) {{$row->details->legend->text}} @endif @if (isset($row->details->formfields_custom)) @include('voyager::formfields.custom.' . $row->details->formfields_custom) @else @endif @endforeach
{{ csrf_field() }}
@stop @section('javascript') @stop