remove embedcode id prefix (#472)

This commit is contained in:
Chirag Chhatrala
2024-07-01 16:37:35 +05:30
committed by GitHub
parent 40f460e122
commit 52f65752af
4 changed files with 8 additions and 15 deletions

View File

@@ -12,8 +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%;" 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>' }}
{{ '<iframe style="border:none;width:100%;" id="'.$form->slug.'" src="'.$form->share_url.'"></iframe>
<script type="text/javascript" onload="initEmbed(\''.$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.