Fix button bar on home

This commit is contained in:
Yohan Boniface 2018-07-07 19:35:02 +02:00
parent 8dad057598
commit f11fe36865

View file

@ -25,14 +25,16 @@
</div>
</div>
</div>
<div class="wrapper button-bar">
<div class="wrapper">
<div class="row">
<div class="col half center mwide">
{% spaceless %}
<div class="button-bar {% if demo_map %}half{% endif %}">
<a href="{% url 'map_new' %}" class="button half">{% trans "Create a map" %}</a>
{% if demo_map %}
<a href="{{ demo_map.get_absolute_url }}" class="button half neutral">{% trans "Play with the demo" %}</a>
{% endif %}
</div>
{% endspaceless %}
</div>
</div>