Revision 7a23114a

b/cloudcms/templates/content/login_form.html
1 1
{% load i18n %}
2 2
<div class="section login-section">
3
<div class="logged_out_content initial_hidden">
3
<div class="logged-out-content initially-hidden">
4 4
<form class="login {{ content.extra_classes }} innerlabels" method="post"
5 5
    action="{{ content.action_url }}local">
6 6
    <h2 class="formheader"><span>{{ content.title }}</span></h2>
......
31 31
</div>
32 32
</div>
33 33
</div>
34
<div class="logged_in_content initial_hidden">
34
<div class="logged-in-content initially-hidden">
35 35
    {{ content.logged_in_content|safe }}
36 36
</div>
37 37
<script>
......
40 40
        if (logged_in != null) {
41 41
            $(".login-section").removeClass("loggedout");
42 42
            $(".login-section").addClass("loggedin");
43
            $(".logged_out_content").hide();
44
            $(".logged_in_content").show();
43
            $(".logged-out-content").hide();
44
            $(".logged-in-content").show();
45 45
        } else {
46 46
            $(".login-section").removeClass("loggedin");
47 47
            $(".login-section").addClass("loggedout");
48
            $(".logged_in_content").hide();
49
            $(".logged_out_content").show();
48
            $(".logged-in-content").hide();
49
            $(".logged-out-content").show();
50 50
        }
51 51
    })
52 52
</script>

Also available in: Unified diff