Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
42 lines (40 sloc) 1.67 KB
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
<h4 class="modal-title" id="participant_edit_modal"><?php eT('List active surveys'); ?></h4>
<div class="modal-body ">
$form = $this->beginWidget(
'id' => 'participantSurveysActiveForm',
'action' => array('admin/participants/sa/editValueParticipantPanel'),
'htmlOptions' => array('class' => ''), // for inset effect
<input type="hidden" name="actionTarget" value="addParticipantToSurvey" />
<input type="hidden" name="Participant[participant_id]" value="<?php echo $model->participant_id; ?>" />
<div class="container-fluid">
$this->widget('bootstrap.widgets.TbGridView', array(
'id' => 'list_participant_surveys',
'itemsCssClass' => 'table table-striped items',
'dataProvider' => $surveymodel->search(),
'columns' => $surveymodel->columns,
'htmlOptions' => array('class'=> 'table-responsive'),
'itemsCssClass' => 'table table-responsive table-striped',
'afterAjaxUpdate' => 'bindButtonsInsideSurveys',
'ajaxType' => 'POST',
'summaryText' => gT('Displaying {count} survey(s).'),
'emptyText' => gT("This participant is not active in any survey")
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal"><?php eT('Close') ?></button>
You can’t perform that action at this time.