Sha256: bf4e181ed9b50ed6fe8e7624fa7c4099e9b2a96784a24d712e57829fe8341c18

Contents?: true

Size: 1.27 KB

Versions: 8

Compression:

Stored size: 1.27 KB

Contents

<div class="container">
	<div ui-view>
		<div class="page-header">
			<h1>Survey: `{{survey.data.attributes.name}}` Questions</h1>
		</div>

		<div class="row">
			<div class="col-xs-8">
				<button type="button" class="btn btn-default" ui-sref="surveys">Back to Surveys</button>
				<button type="button" class="btn btn-default" ng-click="question_new()">Add Question</button>
			</div>
			<div class="col-xs-4">
				<select ng-model="headers['Accept-Language']" name="language" id="language" required class="form-control pull-right">
					<option value="en">English</option>
					<option value="fr">French</option>
				</select>
			</div>
		</div>

		<table class="table table-hover">
			<thead>
			  <tr>
				<th>Question</th>
				<th></th>
			  </tr>
			</thead>
			<tbody>
				<tr ng-repeat="datum in questions.data">
					<td>{{datum.attributes.text}}</td>
					<td align="right">
						<a ng-click="question_edit(datum.id)" class="btn btn-default" href="#" onclick="return false;">Edit</a>
						<a ng-click="question_answers(datum.id)" class="btn btn-default" href="#" onclick="return false;">Build Answers</a>
						<a ng-click="question_delete(datum.links.self)" class="btn btn-danger" href="#" onclick="return false;">Delete</a>
					</td>
				</tr>
			</tbody>
		</table>
	</div>
</div>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
active_record_survey_api-0.0.19 spec/test_app/app/assets/javascripts/components/surveys/SurveyQuestionsView.html
active_record_survey_api-0.0.18 spec/test_app/app/assets/javascripts/components/surveys/SurveyQuestionsView.html
active_record_survey_api-0.0.17 spec/test_app/app/assets/javascripts/components/surveys/SurveyQuestionsView.html
active_record_survey_api-0.0.14 spec/test_app/app/assets/javascripts/components/surveys/SurveyQuestionsView.html
active_record_survey_api-0.0.12 spec/test_app/app/assets/javascripts/components/surveys/SurveyQuestionsView.html
active_record_survey_api-0.0.11 spec/test_app/app/assets/javascripts/components/surveys/SurveyQuestionsView.html
active_record_survey_api-0.0.7 spec/test_app/app/assets/javascripts/components/surveys/SurveyQuestionsView.html
active_record_survey_api-0.0.6 spec/test_app/app/assets/javascripts/components/surveys/SurveyQuestionsView.html