home · contact · privacy
Allow (de-)selection of owners in Process edit view.
[plomtask] / templates / process.html
index f073a5798ed6d0e0a757d4155334f1da7d721e66..8239dc27ef41104dd1ab701a3ca2556c31c7753e 100644 (file)
@@ -24,7 +24,7 @@
 </td>
 <td>
 {% if step_node.is_explicit %}
-add sub-step: <input name="new_step_to_{{step_id}}" list="step_candidates" autocomplete="off" />
+add sub-step: <input name="new_step_to_{{step_id}}" list="process_candidates" autocomplete="off" />
 {% elif not step_node.seen %}
 <input type="checkbox" name="suppresses" value="{{step_id}}" {% if step_node.is_suppressed %}checked{% endif %}> suppress
 {% endif %}
@@ -92,17 +92,13 @@ add sub-step: <input name="new_step_to_{{step_id}}" list="step_candidates" autoc
 {{ step_with_steps(step_id, step_node, 0) }}
 {% endfor %}
 </table>
-add: <input name="new_top_step" list="step_candidates" autocomplete="off" />
+add: <input name="new_top_step" list="process_candidates" autocomplete="off" />
 </td>
 </tr>
 
 <tr>
 <th>step of</th>
-<td>
-{% for owner in owners %}
-<a href="process?id={{owner.id_}}">{{owner.title.newest|e}}</a><br />
-{% endfor %}
-</td>
+<td>{{ macros.simple_checkbox_table("step_of", owners, "process", "process_candidates") }}</td>
 </tr>
 
 <tr>
@@ -117,5 +113,5 @@ add: <input name="new_top_step" list="step_candidates" autocomplete="off" />
 </form>
 
 {{ macros.datalist_of_titles("condition_candidates", condition_candidates) }}
-{{ macros.datalist_of_titles("step_candidates", step_candidates) }}
+{{ macros.datalist_of_titles("process_candidates", process_candidates) }}
 {% endblock %}