Skip to content

Commit

Permalink
small footer capitalization fix
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Apr 13, 2017
1 parent 087f375 commit 262a9cb
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -34,7 +34,7 @@
<div class="login-footer">
Sign in with
{% if socials|length == 1 %}
<a href="{{ url_for('admin.' + socials[0], next = next|default('', True)) }}">{{ socials[0] }}</a>
<a href="{{ url_for('admin.' + socials[0], next = next|default('', True)) }}">{{ socials[0]|capitalize }}</a>
{% else %}
{% for social in socials %}{% if loop.first%}{% elif loop.last %} or {% else %}, {%endif%}<a href="{{ url_for('admin.' + social, next = next|default('', True)) }}">{{ social|capitalize }}</a>{% endfor %}
{% endif %}
Expand Down

0 comments on commit 262a9cb

Please sign in to comment.