lasthourcloud/resources/views/livewire/notifications/discord-settings.blade.php

17 lines
685 B
PHP
Raw Normal View History

2023-06-01 10:15:33 +00:00
<div>
2023-05-25 16:27:52 +00:00
<form wire:submit.prevent='submit' class="flex flex-col">
2023-06-01 10:15:33 +00:00
<div class="flex items-center gap-2">
2023-06-02 10:34:45 +00:00
<h2>Discord</h2>
<x-forms.button type="submit">
2023-06-01 10:15:33 +00:00
Save
</x-forms.button>
</div>
2023-05-25 16:27:52 +00:00
<div class="flex flex-col gap-2 xl:flex-row w-96">
2023-06-01 11:24:20 +00:00
<x-forms.checkbox instantSave id="model.extra_attributes.discord_active" label="Notification Enabled" />
2023-05-25 16:27:52 +00:00
</div>
2023-06-02 10:34:45 +00:00
<x-forms.input type="string"
helper="Generate a webhook in Discord.<br>Example: https://discord.com/api/webhooks/...." required
id="model.extra_attributes.discord_webhook" label="Webhook" />
2023-05-25 16:27:52 +00:00
</form>
</div>