refs #443 form element add manuel

This commit is contained in:
cuneytsenturk
2018-08-07 17:35:45 +03:00
parent 36df336578
commit 62beb11051
22 changed files with 84 additions and 36 deletions

View File

@@ -12,11 +12,13 @@
{!! trans('import.message', ['link' => url('public/files/import/' . $type . '.xlsx')]) !!}
</div>
</div>
@stack('import_input_start')
<div class="form-group col-md-12 required {{ $errors->has('import') ? 'has-error' : '' }}" style="min-height: 59px">
{!! Form::label('import', trans('general.form.select.file'), ['class' => 'control-label']) !!}
{!! Form::file('import', null, ['class' => 'form-control']) !!}
{!! $errors->first('import', '<p class="help-block">:message</p>') !!}
</div>
@stack('import_input_end')
</div>
<!-- /.box-body -->

View File

@@ -22,6 +22,7 @@
{{ Form::selectGroup('tax_id', trans_choice('general.taxes', 1), 'percent', $taxes, setting('general.default_tax'), []) }}
@stack('category_id_input_start')
<div class="form-group col-md-6 required {{ $errors->has('category_id') ? 'has-error' : ''}}">
{!! Form::label('category_id', trans_choice('general.categories', 1), ['class' => 'control-label']) !!}
<div class="input-group">
@@ -33,6 +34,7 @@
</div>
{!! $errors->first('category_id', '<p class="help-block">:message</p>') !!}
</div>
@stack('category_id_input_end')
{{ Form::fileGroup('picture', trans_choice('general.pictures', 1)) }}