@php if ( Ui::keyset($attributes, 'layout') == null || (Ui::keyset($attributes, 'layout') != null && $attributes['layout'] == 'h') ) { $horizental = true; $row = ' row'; $labelClass = 'col-2 col-form-label'; } else { $horizental = false; $row = ''; $labelClass = 'col-form-label'; } if (Ui::keyset($attributes, 'autocomplete') != null) { $typeaheadClass = 'typeahead'; } else { $typeaheadClass = ''; } if (isset($attributes['required']) && $attributes['required'] === true) { $labelClass .= ' required'; } @endphp
{{ Form::label($name, Ui::prettify(__('ui.' . $name)), ['class' => $labelClass]) }} @if ($horizental)
@endif
{{ Form::text($name, $value, array_merge(['class' => 'form-control'], $attributes)) }} {{ $currency_code }}
@if ($horizental)
@endif