fixing dizzy behaviour in new sup accounts scrolling

parent e0c86330
...@@ -143,9 +143,9 @@ ...@@ -143,9 +143,9 @@
<!-- <!--
SLIDE 3: Tutor account form SLIDE 3: Tutor account form
--> -->
<form name="forms.tutorForm" role="form" ng-submit="signup('tutorForm')" novalidate ng-if="formdata.role == 'tutor'">
<div ng-class="slide.back ? 'switch-animation-back' : 'switch-animation'" ng-switch-when="tutor"> <div ng-class="slide.back ? 'switch-animation-back' : 'switch-animation'" ng-switch-when="tutor">
<form name="forms.tutorForm" role="form" ng-submit="signup('tutorForm')" novalidate>
<legend translate>parents_tutor</legend> <legend translate>parents_tutor</legend>
<div class="row"> <div class="row">
<div class="col-md-4 text-center"> <div class="col-md-4 text-center">
...@@ -191,17 +191,17 @@ ...@@ -191,17 +191,17 @@
<button type="submit" class="btn btn-primary" ng-disabled="forms.tutorForm.$invalid || !formdata.disclaimer_accepted">{{ 'create_account' | translate }} &gt;&gt; </button> <button type="submit" class="btn btn-primary" ng-disabled="forms.tutorForm.$invalid || !formdata.disclaimer_accepted">{{ 'create_account' | translate }} &gt;&gt; </button>
</div> </div>
</div> </div>
</form>
</div> </div>
</form>
<!-- <!--
SLIDE 4: Therapist account form SLIDE 4: Therapist account form
--> -->
<form name="forms.therapistForm" role="form" ng-submit="signup('therapistForm')" novalidate ng-if="formdata.role == 'therapist'">
<div ng-class="slide.back ? 'switch-animation-back' : 'switch-animation'" ng-switch-when="therapist"> <div ng-class="slide.back ? 'switch-animation-back' : 'switch-animation'" ng-switch-when="therapist">
<form name="forms.therapistForm" role="form" ng-submit="signup('therapistForm')" novalidate>
<legend translate>therapist</legend> <legend translate>therapist</legend>
<div class="row"> <div class="row">
<div class="col-md-4 text-center"> <div class="col-md-4 text-center">
...@@ -242,17 +242,17 @@ ...@@ -242,17 +242,17 @@
<button type="submit" class="btn btn-primary" ng-disabled="forms.therapistForm.$invalid || !formdata.disclaimer_accepted">{{ 'create_account' | translate }} &gt;&gt; </button> <button type="submit" class="btn btn-primary" ng-disabled="forms.therapistForm.$invalid || !formdata.disclaimer_accepted">{{ 'create_account' | translate }} &gt;&gt; </button>
</div> </div>
</div> </div>
</form>
</div> </div>
</form>
<!-- <!--
SLIDE 5: Office account form SLIDE 5: Office account form
--> -->
<form name="forms.officeForm" role="form" ng-submit="signup('officeForm')" novalidate ng-if="formdata.role == 'office'">
<div ng-class="slide.back ? 'switch-animation-back' : 'switch-animation'" ng-switch-when="office"> <div ng-class="slide.back ? 'switch-animation-back' : 'switch-animation'" ng-switch-when="office">
<form name="forms.officeForm" role="form" ng-submit="signup('officeForm')" novalidate>
<legend translate>office_center</legend> <legend translate>office_center</legend>
<div class="row"> <div class="row">
<div class="col-md-4 text-center"> <div class="col-md-4 text-center">
...@@ -297,9 +297,9 @@ ...@@ -297,9 +297,9 @@
<button type="submit" class="btn btn-primary" ng-disabled="forms.officeForm.$invalid">{{ 'create_account' | translate }} &gt;&gt; </button> <button type="submit" class="btn btn-primary" ng-disabled="forms.officeForm.$invalid">{{ 'create_account' | translate }} &gt;&gt; </button>
</div> </div>
</div> </div>
</form>
</div> </div>
</form>
<!-- <!--
SLIDE 6: Confirmation message SLIDE 6: Confirmation message
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment