{{ ui_v1.sortable_handle(_('拖动节以排序') ~ ': ' ~ lesson.title, 'course-package-structure-sort-help', chapter.lessons.length > 1, 'nojs--hide') }}
{{ ui_v1.sortable_index(loop.index) }}
{{ lesson.title }}
{% if lesson.hidden %}{{ ui_v1.badge(_('已隐藏'), tone='warning') }}{% endif %}
{{ lesson.pids.length }} {{ _('题目') }}
{{ ui_v1.sortable_action(_('置顶'), _('置顶节') ~ ': ' ~ lesson.title, action='top', disabled=loop.first, button_type='submit', name='move', value={scope:'lesson', chapterId:chapter.id, id:lesson.id, action:'top'}|json) }}
{{ ui_v1.sortable_action(_('上移'), _('上移节') ~ ': ' ~ lesson.title, action='up', disabled=loop.first, button_type='submit', name='move', value={scope:'lesson', chapterId:chapter.id, id:lesson.id, action:'up'}|json) }}
{{ ui_v1.sortable_action(_('下移'), _('下移节') ~ ': ' ~ lesson.title, action='down', disabled=loop.last, button_type='submit', name='move', value={scope:'lesson', chapterId:chapter.id, id:lesson.id, action:'down'}|json) }}
{{ ui_v1.sortable_action(_('置底'), _('置底节') ~ ': ' ~ lesson.title, action='bottom', disabled=loop.last, button_type='submit', name='move', value={scope:'lesson', chapterId:chapter.id, id:lesson.id, action:'bottom'}|json) }}
{% endfor %}