67 lines
3.7 KiB
Plaintext
67 lines
3.7 KiB
Plaintext
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
|
|
|
exports[`ParticipationWithoutAccount > handles being already a participant 1`] = `
|
|
"<section class="container mx-auto">
|
|
<div class="">
|
|
<form>
|
|
<p>This Mobilizon instance and this event organizer allows anonymous participations, but requires validation through email confirmation.</p>
|
|
<transition-stub name="fade" appear="false" persisted="false" css="true">
|
|
<article class="o-notification o-notification--info o-notification--top" data-oruga="notification">
|
|
<!---->
|
|
<div class="o-notification__wrapper">
|
|
<!---->
|
|
<div class="o-notification__content">Your email will only be used to confirm that you're a real person and send you eventual updates for this event. It will NOT be transmitted to other instances or to the event organizer.</div>
|
|
</div>
|
|
</article>
|
|
</transition-stub>
|
|
<transition-stub name="fade" appear="false" persisted="false" css="true">
|
|
<article class="o-notification o-notification--danger o-notification--top" data-oruga="notification">
|
|
<!---->
|
|
<div class="o-notification__wrapper">
|
|
<!---->
|
|
<div class="o-notification__content">You are already a participant of this event</div>
|
|
</div>
|
|
</article>
|
|
</transition-stub>
|
|
<div data-oruga="field" class="o-field o-field--filled"><label for="anonymousParticipationEmail" class="o-field__label">Email address</label>
|
|
<div class="o-field__body">
|
|
<div class="o-field o-field--addons">
|
|
<div data-oruga="input" class="o-input__wrapper"><input required="" id="anonymousParticipationEmail" data-oruga-input="email" type="email" class="o-input" autocomplete="off" placeholder="Your email">
|
|
<!---->
|
|
<!---->
|
|
<!---->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!---->
|
|
</div>
|
|
<p>If you want, you may send a message to the event organizer here.</p>
|
|
<div data-oruga="field" class="o-field o-field--filled"><label for="anonymousParticipationMessage" class="o-field__label">Message</label>
|
|
<div class="o-field__body">
|
|
<div class="o-field o-field--addons">
|
|
<div data-oruga="input" class="o-input__wrapper"><textarea minlength="10" id="anonymousParticipationMessage" data-oruga-input="textarea" class="o-input o-input__textarea"></textarea>
|
|
<!---->
|
|
<!---->
|
|
<!---->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!---->
|
|
</div>
|
|
<div data-oruga="field" class="o-field">
|
|
<!---->
|
|
<div class="o-field__body">
|
|
<div class="o-field o-field--addons"><label class="o-chk o-chk--checked" data-oruga="checkbox" role="checkbox" aria-checked="true"><input type="checkbox" data-oruga-input="checkbox" class="o-chk__input o-chk__input--checked" autocomplete="off" true-value="true" false-value="false"><span class="o-chk__label"><b>Remember my participation in this browser</b><p>Will allow to display and manage your participation status on the event page when using this device. Uncheck if you're using a public device.</p></span></label></div>
|
|
</div>
|
|
<!---->
|
|
</div>
|
|
<div class="flex gap-2 my-2"><button type="submit" class="o-btn o-btn--primary o-btn--disabled" role="button" data-oruga="button" disabled=""><span class="o-btn__wrapper"><!----><span class="o-btn__label">Send email</span>
|
|
<!----></span>
|
|
</button><button type="button" class="o-btn o-btn--text" role="button" data-oruga="button"><span class="o-btn__wrapper"><!----><span class="o-btn__label">Back to previous page</span>
|
|
<!----></span>
|
|
</button></div>
|
|
</form>
|
|
</div>
|
|
</section>"
|
|
`;
|