APTrust/dart

View on GitHub
ui/templates/settings/question.html

Summary

Maintainability
Test Coverage
  <div class="card mb-3" data-question-number="{{ questionNumber }}">
      <div class="card-header">Question {{ add questionNumber 1 }}
          <div class="pull-right">
              <button type="button" class="btn btn-danger" data-question-number="{{ questionNumber }}" data-action-type="delete-question">{{ translate "Delete" }}</button>
          </div>
      </div>
      <div class="card-body">
        {{> inputTextArea field = question.prompt }}
        <p>{{ translate "Copy the user's answer to this question to:" }}</p>

        <div class="row">
            <div class="col">
                {{> inputSelect field = question.objType }}
            </div>
            <div class="col">
                {{> inputSelect field = question.objId }}
            </div>
            <div class="col">
                {{> inputSelect field = question.field }}
            </div>
        </div>
      </div>
  </div>