Skip to content

Commit

Permalink
Move all gdpr html to template
Browse files Browse the repository at this point in the history
  • Loading branch information
Ejdamm committed Dec 12, 2020
1 parent 3283929 commit 87f0d6c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 1 addition & 3 deletions resources/views/new_listing.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,8 @@
</div>
</div>

{% include 'templates/gdpr.html.twig'%}

<div class="alert alert-info" role="alert">
{% include 'templates/gdpr.html.twig'%}
</div>

<button type="submit" class="btn btn-primary" name="new_listing_form">{{ language.create_listing }}</button>
</form>
Expand Down
6 changes: 4 additions & 2 deletions resources/views/templates/gdpr.html.twig
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
<h4>GDPR notice</h4>
<p>Personal info you post here will be stored 1 year or until you remove it by yourself.</p>
<div class="alert alert-info" role="alert">
<h4>GDPR notice</h4>
<p>Personal info you post here will be stored 1 year or until you remove it by yourself.</p>
</div>

0 comments on commit 87f0d6c

Please sign in to comment.