login, register; Do not doule-nest row/col classes
This commit is contained in:
parent
d90734e2ec
commit
68718860e2
2 changed files with 63 additions and 67 deletions
|
@ -73,8 +73,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
% }
|
% }
|
||||||
<div class="row">
|
%= form_for '/login' => (method => 'POST') => begin
|
||||||
%= form_for '/login' => (class => 'col s12', method => 'POST') => begin
|
|
||||||
%= csrf_field
|
%= csrf_field
|
||||||
% if (stash('redirect_to')) {
|
% if (stash('redirect_to')) {
|
||||||
%= hidden_field 'redirect_to' => stash('redirect_to')
|
%= hidden_field 'redirect_to' => stash('redirect_to')
|
||||||
|
@ -104,4 +103,3 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
%= end
|
%= end
|
||||||
</div>
|
|
||||||
|
|
|
@ -58,8 +58,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
% }
|
% }
|
||||||
<div class="row">
|
%= form_for '/register' => (method => 'POST') => begin
|
||||||
%= form_for '/register' => (class => 'col s12', method => 'POST') => begin
|
|
||||||
%= csrf_field
|
%= csrf_field
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="input-field col l6 m12 s12">
|
<div class="input-field col l6 m12 s12">
|
||||||
|
@ -96,7 +95,6 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
%= end
|
%= end
|
||||||
</div>
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col s12">
|
<div class="col s12">
|
||||||
<p>
|
<p>
|
||||||
|
|
Loading…
Reference in a new issue