2012-03-27 9 views

Antwort

0

es in der .rb Datei für die Ressource Sortiert -

show :title => :Company_Name do 
panel "COMPANY DETAILS" do 
    attributes_table_for company, :Company_Name, :Title, :First_Name, :Surname, :Job_Title,:Direct_Number, :Contact_Email, :Address_1, :Address_2, :Address_3, :City, :Postcode, :Region, :Head_Office, :Showroom, :Trade_Counter, :Factory_Warehouse, :Telephone_Number, :Fax_Number, :Company_Email, :Web_Address, :PVCu_WindowsDoors_Method_1, :PVCu_WindowsDoors_System_1, :PVCu_WindowsDoors_Method_2, :PVCu_WindowsDoors_System_2, :Timber_Sash_Windows_Method, :FPW, :Composite_Doors_Method_1, :Composite_Doors_System_1, :Composite_Doors_Method_2, :Composite_Doors_System_2, :Composite_Doors_Method_3, :Composite_Doors_System_3, :Installer, :Trade, :Domestic, :Commercial, :New_Build 
end 
active_admin_comments 

Ende

0

nur eine Show Blog mit den erwarteten Attributen in ActiveAdmin Dateien hinzufügen, wie folgende

show do 
    attributes_table do 
    row :id 
    row :title 
    row :created_at 
    row :updated_at   
    end 
end 
Verwandte Themen