Skip to content

Commit

Permalink
Remove extra closing div on Login/Logout pages
Browse files Browse the repository at this point in the history
The Footer template adds a closing div, normally for the PageLayout
template, so Login/Logout can omit the closing div for the "body" to
follow the same pattern.

Fixes: I#37049
  • Loading branch information
cbrandtbuffalo authored and sunnavy committed Jan 29, 2021
1 parent ece459f commit 6b3f75f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion share/html/Elements/Login
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ jQuery(function(){
<& /Elements/LoginHelp &>
</div><!-- #login-box -->
% $m->callback( %ARGS, CallbackName => 'AfterForm' );
</div><!-- #login-body -->
% # Omit closing div for login-body because Footer adds a closing div,
% # normally for the PageLayout template
<& /Elements/Footer, Menu => 0 &>
<%ARGS>
$next => ''
Expand Down
4 changes: 3 additions & 1 deletion share/html/NoAuth/Logout.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@

% $m->callback( %ARGS );

</div></div>
</div>
% # Omit closing div for login-body because Footer adds a closing div,
% # normally for the PageLayout template
<& /Elements/Footer, Menu => 0 &>

% $m->abort();
Expand Down

0 comments on commit 6b3f75f

Please sign in to comment.