Browse Source

fix layout of login.html when registrationMode is 'Closed'

Yuki Takei 8 years ago
parent
commit
4f9c8146a3
1 changed files with 4 additions and 2 deletions
  1. 4 2
      lib/views/login.html

+ 4 - 2
lib/views/login.html

@@ -147,15 +147,17 @@
 
         <hr>
 
-        {% if config.crowi['security:registrationMode'] != 'Closed' %}
         <div class="row">
           <div class="col-xs-12 text-right">
+            {% if config.crowi['security:registrationMode'] != 'Closed' %}
             <a href="#register" id="register" class="link-switch">
               <i class="ti-check-box"></i> {{ t('Sign up is here') }}
             </a>
+            {% else %}
+            &nbsp;
+            {% endif %}
           </div>
         </div>
-        {% endif %}
       </div>