Sha256: 577c4391e8bd4c16fcbb050a4fefd07e90f6680c677543ec4b9a7b5ec1f1fa24
Contents?: true
Size: 1.37 KB
Versions: 9
Compression:
Stored size: 1.37 KB
Contents
# 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 %>' ) # Add organization attributes to org creation Deface::Override.new(:virtual_path => "taxonomies/_step1", :name => "add_organization_attributes_on_create", :insert_after => 'erb[loud]:contains("text_f"):contains(":name")', :partial => '../overrides/foreman/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/foreman/organizations/edit_override')
Version data entries
9 entries across 9 versions & 1 rubygems