forked from cfedermann/Appraise
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Started adapting the error classification
The fields in html are now dynamic
- Loading branch information
David Vilar
committed
Sep 17, 2012
1 parent
ea6a290
commit a2cfe12
Showing
5 changed files
with
32 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,9 @@ | ||
<span id="edit_{{word_id}}" style="display:none;"> | ||
<span class="error-class">Terminology:</span> <input type="radio" name="terminology_{{word_id}}" value="NONE" checked="checked" /> None <input type="radio" name="terminology_{{word_id}}" value="MINOR" /> Minor <input type="radio" name="terminology_{{word_id}}" value="SEVERE" /> Severe<br/> | ||
<span class="error-class">Lexical choice:</span> <input type="radio" name="lexical_choice_{{word_id}}" value="NONE" checked="checked" /> None <input type="radio" name="lexical_choice_{{word_id}}" value="MINOR" /> Minor <input type="radio" name="lexical_choice_{{word_id}}" value="SEVERE" /> Severe<br/> | ||
<span class="error-class">Syntax (ordering):</span> <input type="radio" name="syntax_{{word_id}}" value="NONE" checked="checked" /> None <input type="radio" name="syntax_{{word_id}}" value="MINOR" /> Minor <input type="radio" name="syntax_{{word_id}}" value="SEVERE" /> Severe<br/> | ||
<span class="error-class">Insertion (extra word):</span> <input type="radio" name="insertion_{{word_id}}" value="NONE" checked="checked" /> None <input type="radio" name="insertion_{{word_id}}" value="MINOR" /> Minor <input type="radio" name="insertion_{{word_id}}" value="SEVERE" /> Severe<br/> | ||
<span class="error-class">Morphology:</span> <input type="radio" name="morphology_{{word_id}}" value="NONE" checked="checked" /> None <input type="radio" name="morphology_{{word_id}}" value="MINOR" /> Minor <input type="radio" name="morphology_{{word_id}}" value="SEVERE" /> Severe<br/> | ||
<span class="error-class">Misspelling:</span> <input type="radio" name="misspelling_{{word_id}}" value="NONE" checked="checked" /> None <input type="radio" name="misspelling_{{word_id}}" value="MINOR" /> Minor <input type="radio" name="misspelling_{{word_id}}" value="SEVERE" /> Severe<br/> | ||
<span class="error-class">Punctuation:</span> <input type="radio" name="punctuation_{{word_id}}" value="NONE" checked="checked" /> None <input type="radio" name="punctuation_{{word_id}}" value="MINOR" /> Minor <input type="radio" name="punctuation_{{word_id}}" value="SEVERE" /> Severe<br/> | ||
<span class="error-class">Other (idiom, etc.):</span> <input type="radio" name="other_{{word_id}}" value="NONE" checked="checked" /> None <input type="radio" name="other_{{word_id}}" value="MINOR" /> Minor <input type="radio" name="other_{{word_id}}" value="SEVERE" /> Severe<br/> | ||
{% for error_class in error_classes %} | ||
<span class="error-class">{{error_class}}</span> | ||
<input type="radio" name="{{error_class}}_{{word_id}}" value="NONE" checked="checked" /> None | ||
<input type="radio" name="{{error_class}}_{{word_id}}" value="MINOR" /> Minor | ||
<input type="radio" name="{{error_class}}_{{word_id}}" value="SEVERE" /> Severe<br/> | ||
{% endfor %} | ||
</span> | ||
<span id="view_{{word_id}}" onclick="javascript:toggle_classification({{word_id}});"></span> | ||
<span id="view_{{word_id}}" onclick="javascript:toggle_classification({{word_id}});"></span> |