Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Use a button for link to add new gyms

Roland Geidera19f34a02f6a
diff --git a/wger/gym/templates/gym/list.html b/wger/gym/templates/gym/list.html
index eedaa5aba..f6e32b081 100644
--- a/wger/gym/templates/gym/list.html
+++ b/wger/gym/templates/gym/list.html
@@ -31,17 +31,11 @@
</ul>
{% if perms.core.add_gym %}
-<p>
- <a href="{% url 'gym:gym:add' %}"
- {% auto_link_css flavour "wger-modal-dialog" %}>
- <img src="{% static 'images/icons/new.svg' %}"
- width="32"
- height="32"
- alt="{% trans 'Add new gym' %}"
- title="{% trans 'Add new gym' %}">
- {% trans "Add new gym" %}
+ <div class="pull-right">
+ <a href="{% url 'gym:gym:add' %}" class="btn btn-success btn-sm wger-modal-dialog">
+ {% trans "Add new gym" %}
</a>
-</p>
+ </div>
{% endif %}
{% endblock %}