File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ <h2 class="card-header" id="module{{ module.pk }}">
6363 </ span >
6464 {% endif %}
6565 </ td >
66- < td > {{ script.python_class.Meta. description|markdown|placeholder }}</ td >
66+ < td > {{ script.python_class.description|markdown|placeholder }}</ td >
6767 {% if last_job %}
6868 < td >
6969 < a href ="{% url 'extras:script_result' job_pk=last_job.pk %} "> {{ last_job.created|isodatetime }}</ a >
@@ -79,6 +79,9 @@ <h2 class="card-header" id="module{{ module.pk }}">
7979 {% if request.user|can_run:script and script.is_executable %}
8080 < div class ="float-end d-print-none ">
8181 < form action ="{% url 'extras:script' script.pk %} " method ="post ">
82+ {% if script.python_class.commit_default %}
83+ < input type ="checkbox " name ="_commit " hidden checked >
84+ {% endif %}
8285 {% csrf_token %}
8386 < button type ="submit " name ="_run " class ="btn btn-primary btn-sm ">
8487 {% if last_job %}
You can’t perform that action at this time.
0 commit comments