forked from jazkarta/obsolete-edx-sga
-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Amir Qayyum khan
committed
May 4, 2015
1 parent
bf7914c
commit c818401
Showing
3 changed files
with
72 additions
and
64 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,23 @@ | ||
{% load i18n %} | ||
|
||
<div id="staff-graded-assignment-edit"> | ||
<ul class="list-input settings-list"> | ||
<div id="staff-graded-assignment-edit" role="form"> | ||
<div class="list-input settings-list"> | ||
{% for field, value, validator in fields %} | ||
<li class="field comp-setting-entry metadata_entry"> | ||
<div class="field comp-setting-entry metadata_entry"> | ||
<div class="wrapper-comp-setting"> | ||
<label class="label setting-label" | ||
<label class="label setting-label" | ||
for="{{ field.name }}_input">{{ field.display_name }}</label> | ||
<input class="input setting-input" type="text" | ||
id="{{ field.name }}_input" name="{{ field.name}}" | ||
<input class="input setting-input" type="text" aria-describedby="{{ field.name }}_hint" | ||
id="{{ field.name }}_input" name="{{ field.name}}" | ||
value="{{ value }}" data-validator="{{ validator }}"/> | ||
</div> | ||
<span class="tip setting-help">{{ field.help }}</span> | ||
</li> | ||
<span id="{{ field.name }}_hint" class="tip setting-help">{{ field.help }}</span> | ||
</div> | ||
{% endfor %} | ||
</ul> | ||
</div> | ||
</div> | ||
|
||
<script type="application/javascript"> | ||
$("ul.action-modes").html(' <li class="view-button sga_editor_tab">{% trans "Settings" %}</li>') | ||
$("ul.action-modes").html(' <li class="view-button sga_editor_tab" aria-label="settings">{% trans "Settings" %}</li>') | ||
$("h2.modal-window-title").attr("tabindex","0"); | ||
</script> |
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