Document form recurring and attachment style..

This commit is contained in:
Cüneyt Şentürk
2021-01-01 15:45:43 +03:00
parent 7851caae9a
commit a4d78ce28a
4 changed files with 8 additions and 6 deletions

View File

@ -9,7 +9,7 @@
<div class="row">
<div class="col-sm-6 col-md-6 col-lg-6 col-xl-6">
@if (!$hideRecurring)
{{ Form::recurring('create') }}
{{ Form::recurring('create', null, 'col-md-12') }}
@endif
</div>
@ -19,7 +19,7 @@
@endif
@if (!$hideAttachment)
{{ Form::fileGroup('attachment', trans('general.attachment')) }}
{{ Form::fileGroup('attachment', trans('general.attachment'), '', ['dropzone-class' => 'form-file'], null, 'col-md-12') }}
@endif
</div>
</div>

View File

@ -15,7 +15,7 @@
@endphp
<akaunting-recurring
:form-classes="[{'has-error': form.errors.get('recurring_frequency')}]"
:form-classes="[{'has-error': form.errors.get('recurring_frequency')}, '{{ $col }}']"
title="{{ trans('recurring.recurring') }}"
placeholder="{{ trans('general.form.select.field', ['field' => trans('recurring.recurring')]) }}"