mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-04-13 09:52:20 +02:00
Update vcard-form.blade.php
This commit is contained in:
parent
dbab3a64ef
commit
f0343e931d
@ -3,10 +3,9 @@
|
|||||||
<select style="display:none" name="button" class="form-control"><option class="button button-default email" value="vcard">Vcard</option></select>
|
<select style="display:none" name="button" class="form-control"><option class="button button-default email" value="vcard">Vcard</option></select>
|
||||||
|
|
||||||
@php
|
@php
|
||||||
// Decode the JSON string to a PHP object
|
try {
|
||||||
$data = json_decode($link_url);
|
$data = json_decode($link_url);
|
||||||
|
|
||||||
// Assign the values to the variables
|
|
||||||
$prefix = $data->prefix;
|
$prefix = $data->prefix;
|
||||||
$firstName = $data->first_name;
|
$firstName = $data->first_name;
|
||||||
$middleName = $data->middle_name;
|
$middleName = $data->middle_name;
|
||||||
@ -34,7 +33,8 @@ $workAddressCity = $data->work_address_city;
|
|||||||
$workAddressState = $data->work_address_state;
|
$workAddressState = $data->work_address_state;
|
||||||
$workAddressZip = $data->work_address_zip;
|
$workAddressZip = $data->work_address_zip;
|
||||||
$workAddressCountry = $data->work_address_country;
|
$workAddressCountry = $data->work_address_country;
|
||||||
|
}
|
||||||
|
catch (exception $e) {}
|
||||||
@endphp
|
@endphp
|
||||||
|
|
||||||
<label for='title' class='form-label'>Custom Title</label>
|
<label for='title' class='form-label'>Custom Title</label>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user