diff --git a/app/Http/Livewire/CategoryEditForm.php b/app/Http/Livewire/CategoryEditForm.php
new file mode 100644
index 0000000000..05a1fe9d45
--- /dev/null
+++ b/app/Http/Livewire/CategoryEditForm.php
@@ -0,0 +1,67 @@
+originalSendCheckInEmailValue = $this->sendCheckInEmail;
+
+ if ($this->eulaText || $this->useDefaultEula) {
+ $this->sendCheckInEmail = 1;
+ }
+ }
+
+ public function render()
+ {
+ return view('livewire.category-edit-form');
+ }
+
+ public function updated($property, $value)
+ {
+ if (! in_array($property, ['eulaText', 'useDefaultEula'])) {
+ return;
+ }
+
+ $this->sendCheckInEmail = $this->eulaText || $this->useDefaultEula ? 1 : $this->originalSendCheckInEmailValue;
+ }
+
+ public function getShouldDisplayEmailMessageProperty(): bool
+ {
+ return $this->eulaText || $this->useDefaultEula;
+ }
+
+ public function getEmailMessageProperty(): string
+ {
+ if ($this->useDefaultEula) {
+ return trans('admin/categories/general.email_will_be_sent_due_to_global_eula');
+ }
+
+ return trans('admin/categories/general.email_will_be_sent_due_to_category_eula');
+ }
+
+ public function getEulaTextDisabledProperty()
+ {
+ return (bool)$this->useDefaultEula;
+ }
+
+ public function getSendCheckInEmailDisabledProperty()
+ {
+ return $this->eulaText || $this->useDefaultEula;
+ }
+}
diff --git a/resources/lang/en/admin/categories/general.php b/resources/lang/en/admin/categories/general.php
index 52e936d0b6..2fe448b44e 100644
--- a/resources/lang/en/admin/categories/general.php
+++ b/resources/lang/en/admin/categories/general.php
@@ -8,6 +8,8 @@ return array(
'clone' => 'Clone Category',
'create' => 'Create Category',
'edit' => 'Edit Category',
+ 'email_will_be_sent_due_to_global_eula' => 'An email will be sent to the user because the global EULA is being used.',
+ 'email_will_be_sent_due_to_category_eula' => 'An email will be sent to the user because a EULA is set for this category.',
'eula_text' => 'Category EULA',
'eula_text_help' => 'This field allows you to customize your EULAs for specific types of assets. If you only have one EULA for all of your assets, you can check the box below to use the primary default.',
'name' => 'Category Name',
diff --git a/resources/views/categories/edit.blade.php b/resources/views/categories/edit.blade.php
index 813e8463e9..1ef3b7aa6a 100755
--- a/resources/views/categories/edit.blade.php
+++ b/resources/views/categories/edit.blade.php
@@ -23,59 +23,13 @@
-
-
-
-