2015-07-27 18:11:43 +00:00
|
|
|
<section data-ng-controller="SubmitFormController" class="public-form">
|
2015-07-30 00:22:53 +00:00
|
|
|
|
2015-08-06 05:52:59 +00:00
|
|
|
<form-directive form="myform"></form-directive>
|
2015-06-29 22:51:29 +00:00
|
|
|
|
2015-08-06 05:52:59 +00:00
|
|
|
<section ng-if="!myform.hideFooter" class="navbar navbar-fixed-bottom" style="background-color:rgba(242,242,242,0.5); padding-top:15px;">
|
2015-06-30 11:05:44 +00:00
|
|
|
<div class="container" >
|
2015-08-07 21:02:44 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-xs-4 col-xs-offset-4 col-sm-4 col-sm-offset-4 text-center col-md-3 col-md-offset-0" ng-show="!myform.submitted">
|
2015-08-06 05:52:59 +00:00
|
|
|
<p class="lead">{{myform | formValidity}} out of {{myform.visible_form_fields.length}} answered</p>
|
2015-08-07 21:02:44 +00:00
|
|
|
</div>
|
|
|
|
<div class="hidden-xs hidden-sm col-md-6 col-md-offset-3 row">
|
|
|
|
<div class="col-md-4 col-md-offset-2" ng-if="!authentication.isAuthenticated()">
|
|
|
|
<a href="/#!/forms" class="btn btn-default">Create a Medform</a>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-4 col-md-offset-2" ng-if="authentication.isAuthenticated()" class="hidden-sm hidden-xs">
|
2015-08-06 05:52:59 +00:00
|
|
|
<a href="/#!/forms/{{myform._id}}/admin" class="btn btn-default">Edit this Medform</a>
|
2015-08-07 21:02:44 +00:00
|
|
|
</div>
|
|
|
|
<div class="col-md-1 col-md-offset-2" style="padding-left:5px" class="hidden-sm hidden-xs">
|
|
|
|
<div class="btn btn-info" id="focusDownButton">\/</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-1" class="hidden-sm hidden-xs">
|
|
|
|
<div class="btn btn-info" id="focusUpButton">/\</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-06-30 11:05:44 +00:00
|
|
|
</div>
|
|
|
|
</section>
|
2015-06-29 22:51:29 +00:00
|
|
|
</section>
|
|
|
|
|