fix: use enum instead of config in contact form crmsubject
This commit is contained in:
parent
3586cde515
commit
5641d3f05e
1 changed files with 1 additions and 1 deletions
|
|
@ -77,7 +77,7 @@
|
|||
@endif
|
||||
</div>
|
||||
{{-- CRM SUBJECT --}}
|
||||
<input class="d-none" name="crmsubject" value="{{ json_decode(config('crm.subjects'), true)['complain'] }}">
|
||||
<input class="d-none" name="crmsubject" value="{{ \App\Enums\ContactFormType::complain->crmId() }}">
|
||||
{{-- SUBMIT BUTTON --}}
|
||||
<div class="d-flex justify-content-end">
|
||||
<button class="g-recaptcha btn btn-secondary ms-auto"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue