From 6ffbd52a3699dc8e2b24a98a0a9086fdf8a50fe5 Mon Sep 17 00:00:00 2001 From: Pablo Vazquez Date: Sun, 15 Oct 2017 05:56:43 +0200 Subject: [PATCH] Comments: Simpler login message No point in having a disabled input, since we're leaving the page to login anyway --- src/templates/nodes/custom/comment/list_embed.pug | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/templates/nodes/custom/comment/list_embed.pug b/src/templates/nodes/custom/comment/list_embed.pug index 0741590d..0b45a062 100644 --- a/src/templates/nodes/custom/comment/list_embed.pug +++ b/src/templates/nodes/custom/comment/list_embed.pug @@ -57,15 +57,7 @@ | {# * User is not autenticated #} .comment-reply-form .comment-reply-field.sign-in - textarea( - disabled, - id="comment_field", - data-parent-id="{{ node_id }}", - placeholder="Join the conversation...") - .sign-in - a(href="{{ url_for('users.login') }}") Log in - | to comment. - + a(href="{{ url_for('users.login') }}") Log in to comment | {% endif %} | {% if show_comments and (nr_of_comments > 0) %}