|
1 | 1 | <?php use JeroenDesloovere\VCard\VCard; use App\Models\Button; $button = Button::find($button_id); if(isset($button->name)){$buttonName = $button->name;}else{$buttonName = 0;} ?>
|
2 | 2 |
|
3 |
| -<select style="display:none" name="button" class="form-control"><option class="button button-default email" value="vcard">Vcard</option></select> |
| 3 | +<select style="display:none" name="button" class="form-control"><option class="button button-default email" value="vcard">{{__('messages.Vcard')}}</option></select> |
4 | 4 |
|
5 | 5 | @php
|
6 | 6 | try {
|
|
37 | 37 | catch (exception $e) {}
|
38 | 38 | @endphp
|
39 | 39 |
|
40 |
| -<label for='title' class='form-label'>Custom Title</label> |
| 40 | +<label for='title' class='form-label'>{{__('messages.Custom Title')}}</label> |
41 | 41 | <input type='text' name='link_title' value='{{ $link_title }}' class='form-control' />
|
42 |
| -<span class='small text-muted'>Leave blank for default title</span><br> |
| 42 | +<span class='small text-muted'>{{__('messages.Leave blank for default title')}}</span><br> |
43 | 43 |
|
44 | 44 | {{-- <br><h5>Upload existing file</h5>
|
45 | 45 | <div class="form-group col-lg-8">
|
46 | 46 | <label>Vcard</label>
|
47 | 47 | <input type="file" accept="text/vcard" class="form-control-file" name="vcard">
|
48 | 48 | </div> --}}
|
49 | 49 |
|
50 |
| -<br><br><h4>Name</h4> |
51 |
| -<label for='prefix' class='form-label'>Prefix</label> |
| 50 | +<br><br><h4>{{__('messages.Name')}}</h4> |
| 51 | +<label for='prefix' class='form-label'>{{__('messages.Prefix')}}</label> |
52 | 52 | <input type='text' name='prefix' value='{{$prefix ?? ''}}' class='form-control'/>
|
53 | 53 | <br>
|
54 |
| -<label for='first_name' class='form-label'>First Name</label> |
| 54 | +<label for='first_name' class='form-label'>{{__('messages.First Name')}}</label> |
55 | 55 | <input type='text' name='first_name' value='{{$firstName ?? ''}}' class='form-control'/>
|
56 | 56 | <br>
|
57 |
| -<label for='middle_name' class='form-label'>Middle Name</label> |
| 57 | +<label for='middle_name' class='form-label'>{{__('messages.Middle Name')}}</label> |
58 | 58 | <input type='text' name='middle_name' value='{{$middleName ?? ''}}' class='form-control'/>
|
59 | 59 | <br>
|
60 |
| -<label for='last_name' class='form-label'>Last Name</label> |
| 60 | +<label for='last_name' class='form-label'>{{__('messages.Last Name')}}</label> |
61 | 61 | <input type='text' name='last_name' value='{{$lastName ?? ''}}' class='form-control'/>
|
62 | 62 | <br>
|
63 |
| -<label for='suffix' class='form-label'>Suffix</label> |
| 63 | +<label for='suffix' class='form-label'>{{__('messages.Suffix')}}</label> |
64 | 64 | <input type='text' name='suffix' value='{{$suffix ?? ''}}' class='form-control'/>
|
65 | 65 | <br>
|
66 | 66 | {{-- <label for='nickname' class='form-label'>Nickname</label>
|
67 | 67 | <input type='text' name='nickname' value='{{ ?? ''}}' class='form-control'/>
|
68 | 68 | <br> --}}
|
69 | 69 |
|
70 |
| -<br><h4>Work</h4> |
71 |
| -<label for='organization' class='form-label'>Organization</label> |
| 70 | +<br><h4>{{__('messages.Work')}}</h4> |
| 71 | +<label for='organization' class='form-label'>{{__('messages.Organization')}}</label> |
72 | 72 | <input type='text' name='organization' value='{{$organization ?? ''}}' class='form-control'/>
|
73 | 73 | <br>
|
74 |
| -<label for='vtitle' class='form-label'>Title</label> |
| 74 | +<label for='vtitle' class='form-label'>{{__('messages.Title')}}</label> |
75 | 75 | <input type='text' name='vtitle' value='{{$vtitle ?? ''}}' class='form-control'/>
|
76 | 76 | <br>
|
77 |
| -<label for='role' class='form-label'>Role</label> |
| 77 | +<label for='role' class='form-label'>{{__('messages.Role')}}</label> |
78 | 78 | <input type='text' name='role' value='{{$role ?? ''}}' class='form-control'/>
|
79 | 79 | <br>
|
80 |
| -<label for='work_url' class='form-label'>Work URL</label> |
| 80 | +<label for='work_url' class='form-label'>{{__('messages.Work URL')}}</label> |
81 | 81 | <input type='url' name='work_url' value='{{$workUrl ?? ''}}' class='form-control'/>
|
82 | 82 | <br>
|
83 | 83 |
|
84 |
| -<br><h4>Emails</h4> |
85 |
| -<label for='email' class='form-label'>Email</label> |
| 84 | +<br><h4>{{__('messages.Emails')}}</h4> |
| 85 | +<label for='email' class='form-label'>{{__('messages.Email')}}</label> |
86 | 86 | <input type='email' name='email' value='{{$email ?? ''}}' class='form-control'/>
|
87 |
| -<span class='small text-muted'>Enter your personal email</span> |
| 87 | +<span class='small text-muted'>{{__('messages.Enter your personal email')}}</span> |
88 | 88 | <br>
|
89 |
| -<label for='work_email' class='form-label'>Work Email</label> |
| 89 | +<label for='work_email' class='form-label'>{{__('messages.Work Email')}}</label> |
90 | 90 | <input type='email' name='work_email' value='{{$workEmail ?? ''}}' class='form-control'/>
|
91 |
| -<span class='small text-muted'>Enter your work email</span> |
| 91 | +<span class='small text-muted'>{{__('messages.Enter your work email')}}</span> |
92 | 92 | <br>
|
93 | 93 |
|
94 |
| -<br><h4>Phones</h4> |
95 |
| -<label for='home_phone' class='form-label'>Home Phone</label> |
| 94 | +<br><h4>{{__('messages.Phones')}}</h4> |
| 95 | +<label for='home_phone' class='form-label'>{{__('messages.Home Phone')}}</label> |
96 | 96 | <input type='tel' name='home_phone' value='{{$homePhone ?? ''}}' class='form-control'/>
|
97 | 97 | <br>
|
98 |
| -<label for='work_phone' class='form-label'>Work Phone</label> |
| 98 | +<label for='work_phone' class='form-label'>{{__('messages.Work Phone')}}</label> |
99 | 99 | <input type='tel' name='work_phone' value='{{$workPhone ?? ''}}' class='form-control'/>
|
100 | 100 | <br>
|
101 |
| -<label for='cell_phone' class='form-label'>Cell Phone</label> |
| 101 | +<label for='cell_phone' class='form-label'>{{__('messages.Cell Phone')}}</label> |
102 | 102 | <input type='tel' name='cell_phone' value='{{$cellPhone ?? ''}}' class='form-control'/>
|
103 | 103 | <br>
|
104 | 104 |
|
105 | 105 | <br><h4>Home Address</h4>
|
106 |
| -<label for='home_address_label' class='form-label'>Label</label> |
| 106 | +<label for='home_address_label' class='form-label'>{{__('messages.Label')}}</label> |
107 | 107 | <input type='text' name='home_address_label' value='{{$homeAddressLabel ?? ''}}' class='form-control'/>
|
108 | 108 | <br>
|
109 |
| -<label for='home_address_street' class='form-label'>Street</label> |
| 109 | +<label for='home_address_street' class='form-label'>{{__('messages.Street')}}</label> |
110 | 110 | <input type='text' name='home_address_street' value='{{$homeAddressStreet ?? ''}}' class='form-control'/>
|
111 | 111 | <br>
|
112 |
| -<label for='home_address_city' class='form-label'>City</label> |
| 112 | +<label for='home_address_city' class='form-label'>{{__('messages.City')}}</label> |
113 | 113 | <input type='text' name='home_address_city' value='{{$homeAddressCity ?? ''}}' class='form-control'/>
|
114 | 114 | <br>
|
115 |
| -<label for='home_address_state' class='form-label'>State/Province</label> |
| 115 | +<label for='home_address_state' class='form-label'>{{__('messages.State/Province')}}</label> |
116 | 116 | <input type='text' name='home_address_state' value='{{$homeAddressState ?? ''}}' class='form-control'/>
|
117 | 117 | <br>
|
118 |
| -<label for='home_address_zip' class='form-label'>Zip/Postal Code</label> |
| 118 | +<label for='home_address_zip' class='form-label'>{{__('messages.Zip/Postal Code')}}</label> |
119 | 119 | <input type='text' name='home_address_zip' value='{{$homeAddressZip ?? ''}}' class='form-control'/>
|
120 | 120 | <br>
|
121 |
| -<label for='home_address_country' class='form-label'>Country</label> |
| 121 | +<label for='home_address_country' class='form-label'>{{__('messages.Country')}}</label> |
122 | 122 | <input type='text' name='home_address_country' value='{{$homeAddressCountry ?? ''}}' class='form-control'/>
|
123 | 123 | <br>
|
124 |
| -<br><h4>Work Address</h4> |
125 |
| -<label for='work_address_label' class='form-label'>Label</label> |
| 124 | +<br><h4>{{__('messages.Work Address')}}</h4> |
| 125 | +<label for='work_address_label' class='form-label'>{{__('messages.Label')}}</label> |
126 | 126 | <input type='text' name='work_address_label' value='{{$workAddressLabel ?? ''}}' class='form-control'/>
|
127 | 127 | <br>
|
128 |
| -<label for='work_address_street' class='form-label'>Street</label> |
| 128 | +<label for='work_address_street' class='form-label'>{{__('messages.Street')}}</label> |
129 | 129 | <input type='text' name='work_address_street' value='{{$workAddressStreet ?? ''}}' class='form-control'/>
|
130 | 130 | <br>
|
131 |
| -<label for='work_address_city' class='form-label'>City</label> |
| 131 | +<label for='work_address_city' class='form-label'>{{__('messages.City')}}</label> |
132 | 132 | <input type='text' name='work_address_city' value='{{$workAddressCity ?? ''}}' class='form-control'/>
|
133 | 133 | <br>
|
134 |
| -<label for='work_address_state' class='form-label'>State/Province</label> |
| 134 | +<label for='work_address_state' class='form-label'>{{__('messages.State/Province')}}</label> |
135 | 135 | <input type='text' name='work_address_state' value='{{$workAddressState ?? ''}}' class='form-control'/>
|
136 | 136 | <br>
|
137 |
| -<label for='work_address_zip' class='form-label'>Zip/Postal Code</label> |
| 137 | +<label for='work_address_zip' class='form-label'>{{__('messages.Zip/Postal Code')}}</label> |
138 | 138 | <input type='text' name='work_address_zip' value='{{$workAddressZip ?? ''}}' class='form-control'/>
|
139 | 139 | <br>
|
140 |
| -<label for='work_address_country' class='form-label'>Country</label> |
| 140 | +<label for='work_address_country' class='form-label'>{{__('messages.Country')}}</label> |
141 | 141 | <input type='text' name='work_address_country' value='{{$workAddressCountry ?? ''}}' class='form-control'/>
|
142 | 142 | <br>
|
143 | 143 |
|
0 commit comments