@@ -235,7 +235,7 @@ function text($key){
235
235
<h5 style =" margin-top :50px " >Enable registration</h5 >
236
236
<p class =" text-muted" >Determines whether users can register for your application.</p >
237
237
<div class =" input-group" >
238
- <div class =" row toggle-btn" ><input name =" toggle" class =" switch toggle-btn" type =" checkbox" id =" toggle" <?php if (Page:: pluck (' register' ) == ' ["false"]' ){echo ' />' ;}else {echo ' checked>' ;} ? > <label for =" '.$key.' " class =" label txt-label" >Enable</label ></div >
238
+ <div class =" row toggle-btn" ><input name =" toggle" class =" switch toggle-btn" type =" checkbox" id =" toggle-register " <?php if (Page:: pluck (' register' ) == ' ["false"]' ){echo ' />' ;}else {echo ' checked>' ;} ? > <label for =" toggle-register " class =" label txt-label" >Enable</label ></div >
239
239
</div ></div >
240
240
<input type =" hidden" name =" _token" value =" {{ csrf_token ()} }" >
241
241
<script type =" text/javascript" >document .getElementById (" register-form" ).addEventListener (" change" , function () { this .submit (); }); </script >
@@ -355,7 +355,7 @@ function text($key){
355
355
<h5 style =" margin-top :50px " >Use built in SMTP server</h5 >
356
356
<p class =" text-muted" >Uses SMTP server provided by LittleLink Custom. Might not be 100% reliable. Some errors may occur.</p >
357
357
<div class =" input-group" >
358
- <div class =" row toggle-btn" ><input name =" toggle" class =" switch toggle-btn" type =" checkbox" id =" toggle" <?php if (EnvEditor:: getKey (' MAIL_MAILER' ) != ' built-in' ){echo ' />' ;}else {echo ' checked>' ;} ? > <label for =" '.$key.' " class =" label txt-label" >Enable</label ></div >
358
+ <div class =" row toggle-btn" ><input name =" toggle" class =" switch toggle-btn" type =" checkbox" id =" toggle-smtp " <?php if (EnvEditor:: getKey (' MAIL_MAILER' ) != ' built-in' ){echo ' />' ;}else {echo ' checked>' ;} ? > <label for =" toggle-smtp " class =" label txt-label" >Enable</label ></div >
359
359
</div ></div >
360
360
<input type =" hidden" name =" _token" value =" {{ csrf_token ()} }" >
361
361
<div style =" max-width : 600px ; padding-left : 20px ;" >
@@ -387,7 +387,7 @@ function text($key){
387
387
<h5 style =" margin-top :50px " >Debug mode</h5 >
388
388
<p class =" text-muted" >Should be disabled in a production environment. Usefull for debuggin during setup.</p >
389
389
<div class =" input-group" >
390
- <div class =" row toggle-btn" ><input name =" toggle" class =" switch toggle-btn" type =" checkbox" id =" toggle" <?php if (EnvEditor:: getKey (' APP_DEBUG' ) == ' false' ){echo ' />' ;}else {echo ' checked>' ;} ? > <label for =" '.$key.' " class =" label txt-label" >Enable</label ></div >
390
+ <div class =" row toggle-btn" ><input name =" toggle" class =" switch toggle-btn" type =" checkbox" id =" toggle-debug " <?php if (EnvEditor:: getKey (' APP_DEBUG' ) == ' false' ){echo ' />' ;}else {echo ' checked>' ;} ? > <label for =" toggle-debug " class =" label txt-label" >Enable</label ></div >
391
391
</div ></div >
392
392
<input type =" hidden" name =" _token" value =" {{ csrf_token ()} }" >
393
393
<script type =" text/javascript" >document .getElementById (" debug-form" ).addEventListener (" change" , function () { this .submit (); }); </script >
0 commit comments