%tr
  %td
    %select{name: "enterprise_relationship_child_id", "ng-model" => "child_id", "ng-options" => "e.id as e.name for e in Enterprises.all_enterprises"}
  %td
    permits
    / %div{"ng-repeat" => "permission in EnterpriseRelationships.all_permissions"}
    /   %label
    /     %input{type: "checkbox", "ng-model" => "permissions[permission]"}
    /     {{ EnterpriseRelationships.permission_presentation(permission) }}
  %td
    %select{name: "enterprise_relationship_parent_id", "ng-model" => "parent_id", "ng-options" => "e.id as e.name for e in Enterprises.my_enterprises"}
  %td.actions
    %input{type: "button", value: "Create", "ng-click" => "create()"}
    .errors {{ EnterpriseRelationships.create_errors }}

%tr
  %td
    %select{name: "enterprise_relationship_child_id", "ng-model" => "child_id", "ng-options" => "e.id as e.name for e in Enterprises.all_enterprises"}
  %td
    %div{"ng-repeat" => "permission in EnterpriseRelationships.all_permissions"}
      %label
        %input{type: "checkbox", "ng-model" => "permissions[permission]"}
        {{ EnterpriseRelationships.permission_presentation(permission) }}
  %td
    %select{name: "enterprise_relationship_parent_id", "ng-model" => "parent_id", "ng-options" => "e.id as e.name for e in Enterprises.my_enterprises"}
  %td.actions
    %input{type: "button", value: "Create", "ng-click" => "create()"}
    .errors {{ EnterpriseRelationships.create_errors }}

Revert "Comment out ERPs which have confusing names, use old 'permits'"
Revert "Comment out ERPs which have confusing names, use old 'permits'"

This reverts commit a4be0ff55a2ef4cb7dd78412ca6a5018db6ab167.
