@extends('layout.default') @if($mode == 'edit') @section('title', $__t('Edit userfield')) @else @section('title', $__t('Create userfield')) @endif @section('viewJsName', 'userfieldform') @section('content')

@yield('title')


@if($mode == 'edit') @endif
{{ $__t('A entity is required') }}
{{ $__t('This is required and can only contain letters and numbers') }}
{{ $__t('A caption is required') }}
@php if($mode == 'edit' && !empty($userfield->sort_number)) { $value = $userfield->sort_number; } else { $value = ''; } @endphp @include('components.numberpicker', array( 'id' => 'sort_number', 'label' => 'Sort number', 'min' => 0, 'value' => $value, 'isRequired' => false, 'hint' => $__t('Multiple Userfields will be ordered by that number on the input form') ))
{{ $__t('A type is required') }}
show_as_column_in_tables == 1) checked @endif class="form-check-input custom-control-input" type="checkbox" id="show_as_column_in_tables" name="show_as_column_in_tables" value="1">
input_required == 1) checked @endif class="form-check-input custom-control-input" type="checkbox" id="input_required" name="input_required" value="1">
@stop