mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
core: allow custom problem difficulty
This commit is contained in:
1 parent
7f74c11bbd
commit
073eaffbd3
14 files changed
+38
-17
No files matched your search
@@ -30,13 +30,24 @@
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
{{ form.form_text({
|
||||
columns:12,
|
||||
row:false,
|
||||
columns:8,
|
||||
label:'Tags',
|
||||
help_text:'Split by \', \'.',
|
||||
name:'tag',
|
||||
value:pdoc['tag']|default([])|join(', ')
|
||||
}) }}
|
||||
{{ form.form_text({
|
||||
row:false,
|
||||
columns:4,
|
||||
label:'Difficulty',
|
||||
help_text:'From 1-10',
|
||||
name:'difficulty',
|
||||
value:pdoc['difficulty']
|
||||
}) }}
|
||||
</div>
|
||||
<div class="section__tab-container nojs--hide">
|
||||
<div class="section__tab-header-wrapper">
|
||||
<ul class="section__tab-header">
|
||||
|
||||
Reference in new issue
Block a user