Tag Rules can be rearranged in UI to set priority

This commit is contained in:
Rob Harrington
2016-05-27 13:53:25 +10:00
parent cb9e3b43f9
commit a1c7a44fa0
12 changed files with 95 additions and 32 deletions

View File

@@ -16,6 +16,11 @@
name: "enterprise[tag_rules_attributes][{{tagGroup.startIndex + $index}}][type]",
ng: { value: "rule.type" } }
%input{ type: "hidden",
id: "enterprise_tag_rules_attributes_{{tagGroup.startIndex + $index}}_priority",
name: "enterprise[tag_rules_attributes][{{tagGroup.startIndex + $index}}][priority]",
ng: { value: "tagGroup.startIndex + $index" } }
%input{ type: "hidden",
id: "enterprise_tag_rules_attributes_{{tagGroup.startIndex + $index}}_is_default",
name: "enterprise[tag_rules_attributes][{{tagGroup.startIndex + $index}}][is_default]",