# Remove Parent select box from org
Deface::Override.new(:virtual_path => "taxonomies/_step1",
                     :name => "remove_parent_organization_on_create",
                     :surround => 'erb[loud]:contains("select_f"):contains(":parent")',
                     :text => '<% if taxonomy.is_a?(Location) %><%= render_original %><% end %>'
                    )

Deface::Override.new(:virtual_path => "taxonomies/_form",
                     :name => "remove_parent_organization_on_edit",
                     :surround => 'erb[loud]:contains("select_f"):contains(":parent")',
                     :text => '<% if taxonomy.is_a?(Location) %><%= render_original %><% end %>'
                    )

Deface::Override.new(:virtual_path => "taxonomies/_step1",
                    :name => "add_organization_attributes_on_create",
                    :insert_after => 'erb[loud]:contains("text_f"):contains(":name")',
                    :partial => 'overrides/organizations/step_1_override'
                    )

# Add organization attributes to org edit
Deface::Override.new(:virtual_path => "taxonomies/_form",
                     :name => "add_organization_attributes_on_edit",
                     :insert_after => 'erb[loud]:contains("text_f"):contains(":name")',
                     :partial => 'overrides/organizations/edit_override')
