-
Notifications
You must be signed in to change notification settings - Fork 987
/
clearAll.php
27 lines (27 loc) · 908 Bytes
/
clearAll.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?php
/**
* Move next button
*
* @var $value
* @var $class
*/
?>
<!-- views/survey/system/actionButton/moveNext -->
<?php
echo CHtml::openTag("div",array("class"=>"form-inline ls-{$name}-form"));
echo CHtml::openTag("label",array("class"=>"form-group hidden"));
echo CHtml::checkBox($confirmedby,false,array('id'=>false,'value'=>$confirmvalue));
echo CHtml::tag("span",array('class'=>'control-label'),gT("Please confirm you want to clear your response?"));
echo CHtml::closeTag("label");
echo CHtml::htmlButton(gT("Exit and clear survey"),array(
'type'=>'submit',
'id'=>null,
'value'=>$value,
'name'=>$name,
'class'=>"$class btn btn-link",
'data-confirmedby'=>$confirmedby,
'title'=>gT("This action need confirmation."),
));
echo CHtml::closeTag("div");
?>
<!-- end of views/survey/system/actionButton/moveNext -->