Privacy statement specific styling and template.
This commit is contained in:
@@ -1,12 +1,19 @@
|
|||||||
form {
|
form {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
max-width: 50%;
|
||||||
|
|
||||||
.checkbox-container {
|
.checkbox-container {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
||||||
label {
|
label {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
|
padding-left: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.consent-checkbox {
|
||||||
|
font-style: italic;
|
||||||
|
padding-top: 30px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -49,3 +56,9 @@ form {
|
|||||||
margin-top: 30px;
|
margin-top: 30px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 600px) {
|
||||||
|
form {
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -48,9 +48,15 @@
|
|||||||
<%= label form, :accom, "Olen kiinnostunut majoituksesta" %>
|
<%= label form, :accom, "Olen kiinnostunut majoituksesta" %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<i>Käsittelemme lomakkeen henkilötietoja<br /><a class="generic-link" href="/privacy">rekisteri- ja tietosuojaselosteessamme</a><br />määritellyllä tavoin.</i>
|
<div class="checkbox-container consent-checkbox">
|
||||||
|
<input type="checkbox" required="true" id="privacy-consent" />
|
||||||
<div class="submit-button">
|
<label for="privacy-consent">
|
||||||
<%= submit "Tallenna lomakkeen tiedot osallistuaksesi tapahtumaan" %>
|
Olen lukenut ja hyväksyn yhteystietojeni käsittelyn
|
||||||
|
<a class="generic-link" href="/privacy">rekisteri- ja tietosuojaselosteessamme</a>
|
||||||
|
määritellyin tavoin.
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
<div div class="submit-button">
|
||||||
|
<%= submit "Lähetä" %>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|||||||
Reference in New Issue
Block a user