2022-06-24 10:20:38 +03:00
|
|
|
<x-form>
|
2022-11-28 13:17:36 +03:00
|
|
|
<div class="lg:absolute lg:ltr:right-0 lg:rtl:left-0 top-4">
|
2022-06-24 10:20:38 +03:00
|
|
|
<div class="relative" x-model="price_type">
|
2022-11-28 13:17:36 +03:00
|
|
|
<div class="w-58 flex items-center bg-gray-200 p-1 ltr:mr-2 rtl:ml-2 rounded-lg">
|
2022-06-24 10:20:38 +03:00
|
|
|
<button type="button"
|
2022-11-28 13:17:36 +03:00
|
|
|
x-on:click="price_type = 'monthly'"
|
2022-06-24 10:20:38 +03:00
|
|
|
class="w-18 flex justify-center px-2"
|
2022-11-28 13:17:36 +03:00
|
|
|
x-bind:class="price_type == 'monthly' ? 'bg-white rounded-lg' : 'btn-outline-primary'"
|
2022-06-24 10:20:38 +03:00
|
|
|
>
|
|
|
|
{{ trans('general.monthly') }}
|
|
|
|
</button>
|
2022-06-01 10:15:55 +03:00
|
|
|
|
2022-06-24 10:20:38 +03:00
|
|
|
<button type="button"
|
2022-11-28 13:17:36 +03:00
|
|
|
x-on:click="price_type = 'yearly'"
|
2022-06-24 10:20:38 +03:00
|
|
|
class="w-18 flex justify-center px-2"
|
2022-11-28 13:17:36 +03:00
|
|
|
x-bind:class="price_type == 'yearly' ? 'bg-white rounded-lg' : 'btn-outline-primary'"
|
2022-06-24 10:20:38 +03:00
|
|
|
>
|
|
|
|
{{ trans('general.yearly') }}
|
|
|
|
</button>
|
2022-11-28 13:17:36 +03:00
|
|
|
|
|
|
|
<button type="button"
|
|
|
|
x-on:click="price_type = 'lifetime'"
|
|
|
|
class="w-18 flex justify-center px-2"
|
|
|
|
x-bind:class="price_type == 'lifetime' ? 'bg-white rounded-lg' : 'btn-outline-primary'"
|
|
|
|
>
|
|
|
|
{{ trans('general.lifetime') }}
|
|
|
|
</button>
|
2022-06-01 10:15:55 +03:00
|
|
|
</div>
|
2022-06-24 10:20:38 +03:00
|
|
|
</div>
|
2022-06-01 10:15:55 +03:00
|
|
|
</div>
|
2022-06-24 14:40:49 +03:00
|
|
|
</x-form>
|