Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xblock-drag-and-drop-v2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
xblock-drag-and-drop-v2
Commits
4c066e7a
Commit
4c066e7a
authored
Feb 08, 2016
by
Braden MacDonald
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix: Maximum Score field is blank upon re-editing, if server uses "de" locale
parent
fae37c69
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
drag_and_drop_v2/templates/html/drag_and_drop_edit.html
+2
-1
No files found.
drag_and_drop_v2/templates/html/drag_and_drop_edit.html
View file @
4c066e7a
{% load i18n %}
{% load l10n %}
<div
class=
"xblock--drag-and-drop--editor editor-with-buttons"
>
{{ js_templates|safe }}
...
...
@@ -21,7 +22,7 @@
</label>
<label
class=
"h3"
for=
"weight"
>
{% trans "Maximum score" %}
</label>
<input
id=
"weight"
type=
"number"
step=
"0.1"
value=
"{{ self.weight }}"
/>
<input
id=
"weight"
type=
"number"
step=
"0.1"
value=
"{{ self.weight
|unlocalize
}}"
/>
<label
class=
"h3"
for=
"problem-text"
>
{% trans "Problem text" %}
</label>
<textarea
id=
"problem-text"
>
{{ self.question_text }}
</textarea>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment