Skip to content
Snippets Groups Projects
Commit d63cfb01 authored by Daniel Kriz's avatar Daniel Kriz
Browse files

Merge branch 'feature/pirati-cz' into feature/pirati-cz-bugfixes

parents 97eaa682 85ea6cb4
Branches
No related tags found
3 merge requests!609Release,!608Small tuning and fixes of pirati.cz (main) module,!606[ADD] Bugfixes Kontakty
Pipeline #9640 passed
<button type="submit" class="btn btn__slide__wrap {{ classes }}"> <button type="submit" class="btn btn__slide__wrap {{ classes }}">
<span class="btn text-lg bg-black px-1 text-white lg:text-base"> <span class="btn text-base bg-black px-1 text-white">
{{ btn-text }} {{ btn-text }}
</span> </span>
<span class="btn text-lg bg-white px-1 text-black lg:text-base"> <span class="btn text-base bg-white px-1 text-black">
{{ btn-text }} {{ btn-text }}
</span> </span>
</button> </button>
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
</span> </span>
<h5 class="newsletter-grid__main-text font-alt text-6xl xl:text-7xl uppercase">Odebírej náš newsletter</h5> <h5 class="newsletter-grid__main-text font-alt text-6xl xl:text-7xl uppercase">Odebírej náš newsletter</h5>
<div class="newsletter-grid__input flex flex-col items-start"> <div class="newsletter-grid__input flex flex-col items-start">
<form method="post" action="."> <form method="post" class="w-full max-w-md" action=".">
{{> atoms-form-input(placeholder: "Tvůj email", classes: "mb-3 w-full") }} {{> atoms-form-input(placeholder: "Tvůj email", classes: "mb-3 w-full") }}
{{> atoms-form-checkbox(label: "Souhlasím se zpracováním osobních údajů", classes: "mb-3") }} {{> atoms-form-checkbox(label: "Souhlasím se zpracováním osobních údajů", classes: "mb-3") }}
{{> atoms-form-button-animated(btn-text: "Odebírat") }} {{> atoms-form-button-animated(btn-text: "Odebírat") }}
......
<button type="submit" class="btn btn__slide__wrap {{ extra_classes }}"> <button type="submit" class="btn btn__slide__wrap {{ extra_classes }}">
<span class="btn text-lg bg-black text-white px-1 lg:text-base"> <span class="btn text-base bg-black text-white px-1">
{{ btn_text | default_if_none:"Číst dále" }} {{ btn_text | default_if_none:"Číst dále" }}
</span> </span>
<span class="btn text-lg bg-white text-black px-1 lg:text-base"> <span class="btn text-base bg-white text-black px-1">
{{ btn_text | default_if_none:"Číst dále" }} {{ btn_text | default_if_none:"Číst dále" }}
</span> </span>
</button> </button>
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
</span> </span>
<h5 class="newsletter-grid__main-text font-alt text-6xl xl:text-7xl uppercase">Odebírej náš newsletter</h5> <h5 class="newsletter-grid__main-text font-alt text-6xl xl:text-7xl uppercase">Odebírej náš newsletter</h5>
<div class="newsletter-grid__input flex flex-col items-start"> <div class="newsletter-grid__input flex flex-col items-start">
<form method="post" action="{{ page.root_page.newsletter_subscribe_url }}"> <form method="post" class="w-full max-w-md" action="{{ page.root_page.newsletter_subscribe_url }}">
{% csrf_token %} {% csrf_token %}
<input type="hidden" name="return_page_id" value="{{ page.id }}"> <input type="hidden" name="return_page_id" value="{{ page.id }}">
<input type="email" name="email" class="text-input bg-white form-field__control mb-3 w-full" value="" required="" <input type="email" name="email" class="text-input bg-white form-field__control mb-3 w-full" value="" required=""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment