This repository was archived by the owner on Jan 2, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 41
41
@bind($user)
42
42
<x-form-input name="last_name" label="Last Name" />
43
43
<x-form-select name="country_code" :options="$options" />
44
- <x-form-select name="interests" :options="$multiOptions" multiple />
44
+ <x-form-select name="interests" :options="$multiOptions" label="Select your interests" multiple />
45
45
46
+ <!-- \Spatie\Translatable\HasTranslations -->
46
47
<x-form-textarea name="biography" language="nl" placeholder="Dutch Biography" />
47
48
<x-form-textarea name="biography" language="en" placeholder="English Biography" />
48
49
49
50
<x-form-checkbox name="subscribe_to_newsletter" label="Subscribe to newsletter" />
50
51
52
+ <!-- Inline radio inputs -->
51
53
<x-form-group name="newsletter_frequency" label="Newsletter frequency">
52
- <x-form-radio name="newsletter_frequency" value="daily" />
53
- <x-form-radio name="newsletter_frequency" value="weekly" />
54
+ <x-form-radio name="newsletter_frequency" value="daily" label="Daily" />
55
+ <x-form-radio name="newsletter_frequency" value="weekly" label="Weekly" />
54
56
</x-form-group>
55
57
56
58
<x-form-submit />
You can’t perform that action at this time.
0 commit comments