update iframe code for email (#471)

This commit is contained in:
Chirag Chhatrala 2024-07-01 14:52:37 +05:30 committed by GitHub
parent add60fbde9
commit 40f460e122
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 2 deletions

View File

@ -12,7 +12,8 @@ If you want to share your form, here is the link:
If you want to embed your form to your website, copy and paste the following code:
@component('mail::panel')
{{ '<iframe style="border:none;width:100%;" height="620px" src="'.$form->share_url.'"></iframe>' }}
{{ '<iframe style="border:none;width:100%;" id="form-'.$form->slug.'" src="'.$form->share_url.'"></iframe>
<script type="text/javascript" onload="initForm(\''.$form->slug.'\')" src="'.front_url("widgets/iframe.min.js").'"></script>' }}
@endcomponent
Finally, we created a **Discord channel** with all the other users to share our news and guides about OpnForm.
@ -22,4 +23,4 @@ I would love to see you there, here is the link:
Discord Channel
@endcomponent
@endcomponent
@endcomponent