static label tags converted view component

This commit is contained in:
Burak Civan 2022-06-17 14:09:26 +03:00
parent f4fbe6d28e
commit 003c418243
7 changed files with 20 additions and 20 deletions

View File

@ -20,9 +20,9 @@
<x-slot name="body">
<div class="form-group form-group relative sm:col-span-3">
<label class="form-control-label">
<x-form.label>
{{ trans('general.date') }}
</label>
</x-form.label>
<x-tooltip id="tooltip-paid" placement="bottom" message="{{ trans('documents.recurring.tooltip.document_date', ['type' => Str::lower(trans_choice('general.transactions', 1))]) }}">
<div class="relative focused has-label">
@ -75,9 +75,9 @@
<x-slot name="body">
<div class="form-group form-group relative sm:col-span-3">
<label class="form-control-label">
<x-form.label>
{{ trans_choice('general.numbers', 1) }}
</label>
</x-form.label>
<x-tooltip id="tooltip-number" placement="bottom" message="{{ trans('documents.recurring.tooltip.document_number', ['type' => Str::lower(trans_choice('general.transactions', 1))]) }}">
<div class="relative focused has-label">

View File

@ -13,9 +13,9 @@
<x-slot name="body">
<div class="form-group form-group relative sm:col-span-3">
<label class="form-control-label">
<x-form.label>
{{ trans('general.date') }}
</label>
</x-form.label>
<x-tooltip id="tooltip-paid" placement="bottom" message="{{ trans('documents.recurring.tooltip.document_date', ['type' => Str::lower(trans_choice('general.transactions', 1))]) }}">
<div class="relative focused has-label">
@ -76,9 +76,9 @@
<x-slot name="body">
<div class="form-group form-group relative sm:col-span-3">
<label class="form-control-label">
<x-form.label>
{{ trans_choice('general.numbers', 1) }}
</label>
</x-form.label>
<x-tooltip id="tooltip-number" placement="bottom" message="{{ trans('documents.recurring.tooltip.document_number', ['type' => Str::lower(trans_choice('general.transactions', 1))]) }}">
<div class="relative focused has-label">

View File

@ -1,8 +1,8 @@
<div class="grid sm:grid-cols-7 sm:col-span-6 gap-x-8 gap-y-6 my-3.5">
<div class="sm:col-span-2 required">
<label for="contact" class="form-control-label">
<div class="sm:col-span-2">
<x-form.label for="contact" required>
{{ trans_choice($textContact, 1) }}
</label>
</x-form.label>
<x-documents.form.contact
type="{{ $typeContact }}"
@ -26,9 +26,9 @@
@if (! $hideIssuedAt)
<div class="form-group form-group relative sm:col-span-3">
<label class="form-control-label">
<x-form.label>
{{ trans($textIssuedAt) }}
</label>
</x-form.label>
<x-tooltip id="tooltip-issued" placement="bottom" message="{{ trans('documents.recurring.tooltip.document_date', ['type' => config('type.document.' . $type . '.setting.prefix', 'invoice')]) }}">
<div class="relative focused has-label">
@ -62,9 +62,9 @@
@if (! $hideDocumentNumber)
<div class="form-group form-group relative sm:col-span-3">
<label class="form-control-label">
<x-form.label>
{{ trans($textDocumentNumber) }}
</label>
</x-form.label>
<x-tooltip id="tooltip-number" placement="bottom" message="{{ trans('documents.recurring.tooltip.document_number', ['type' => config('type.document.' . $type . '.setting.prefix', 'invoice')]) }}">
<div class="relative focused has-label">

View File

@ -7,7 +7,7 @@
v-model="{{ !empty($attributes['v-model']) ? $attributes['v-model'] : 'bulk_action.select_all' }}"
@click="onSelectAllBulkAction"
/>
<label class="custom-control-label" for="table-check-all"></label>
<label for="table-check-all"></label>
</div>
@stack('bulk_action_all_input_end')

View File

@ -15,7 +15,7 @@
v-model="{{ !empty($attributes['v-model']) ? $attributes['v-model'] : 'bulk_action.selected' }}"
@change="onSelectBulkAction"
>
<label class="custom-control-label" for="bulk-action-{{ $id }}"></label>
<label for="bulk-action-{{ $id }}"></label>
</div>
@stack($name . '_input_end')

View File

@ -43,7 +43,7 @@
<x-form.group.text name="subject" label="{{ trans('settings.email.templates.subject') }}" form-group-class="sm:col-span-6" />
<div class="form-group sm:col-span-6 required" v-if='form.body != null'>
<x-form.label for="body" class="form-control-label">
<x-form.label for="body">
{{ trans('settings.email.templates.body') }}
</x-form.label>

View File

@ -35,9 +35,9 @@
<x-slot name="body">
<div class="sm:col-span-6">
<label for="cron_command" class="form-control-label">
<x-form.label for="cron_command">
{{ trans('settings.scheduling.command') }}
</label>
</x-form.label>
<input type="text" class="w-full text-sm px-3 py-2.5 mt-1 rounded-lg border border-light-gray text-black placeholder-light-gray bg-white disabled:bg-gray-200 focus:outline-none focus:ring-transparent focus:border-purple" disabled value="php {{ base_path('artisan') }} schedule:run >> /dev/null 2>&1">
</div>