Skip to content

Commit

Permalink
Issue #11 fix: bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
swati2093 committed Jul 18, 2018
1 parent 74d48fa commit 1c39b8c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
6 changes: 6 additions & 0 deletions editor/controllers/mcq-controller.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions editor/styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -177,4 +177,7 @@ i.large.icon.delete-icon{
.imgWidth{
display: block;
width: 70%;
}
.ck-error{
border: 1px solid red;
}
2 changes: 1 addition & 1 deletion editor/templates/horizontal_template.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<div class="ui segment">
<div class="ui grid">
<div class="twelve wide column">
<div class="form-group segment textBoxDiv">
<div class="form-group segment textBoxDiv questionTextBox">
<textarea class="form-control textboxQ" ng-class="{'has-success':mcqForm.question.$valid, 'has-error': submitted && mcqForm.question.$error.required}" placeholder="Enter the question" name="ckedit" ng-model="mcqFormData.question.text" ng-init="$ctrl.focused = false" ng-focus="$ctrl.focused = true;" ng-blur="$ctrl.focused = false" ng-required="!(mcqFormData.question.text.length || mcqFormData.question.image.length || mcqFormData.question.audio.length)"></textarea>
</div>
</div>
Expand Down

0 comments on commit 1c39b8c

Please sign in to comment.