bug fichier adhérent
This commit is contained in:
parent
bffcc1bb61
commit
2280378fec
@ -15,7 +15,7 @@ class Sheet < ActiveRecord::Base
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
attr_accessible :donates_attributes, :sheet_type, :people_attributes, :sheet_years_attributes, :corporate, :address, :address2, :address3, :pc, :city, :country, :skills
|
attr_accessible :donates_attributes, :sheet_type, :people_attributes, :sheet_years_attributes, :corporate, :address, :address2, :address3, :pc, :city, :country, :skills, :other_mail, :other_phone
|
||||||
|
|
||||||
accepts_nested_attributes_for :people, :allow_destroy => true
|
accepts_nested_attributes_for :people, :allow_destroy => true
|
||||||
accepts_nested_attributes_for :sheet_years, :allow_destroy => true
|
accepts_nested_attributes_for :sheet_years, :allow_destroy => true
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
-img = image_tag("/images/style/quartz-admin/principal_active.png")
|
-img = image_tag("/images/style/quartz-admin/principal_active.png")
|
||||||
-else
|
-else
|
||||||
-img = image_tag("/images/style/quartz-admin/principal.png")
|
-img = image_tag("/images/style/quartz-admin/principal.png")
|
||||||
= link_to img, :url => principal_person_path(person), :method => :get, :remote => true
|
= link_to img, :url => principal_admin_person_path(person), :method => :get, :remote => true
|
||||||
|
|
||||||
-else
|
-else
|
||||||
=image_tag("/images/style/quartz-admin/principal_active.png") if person == person.sheet.person
|
=image_tag("/images/style/quartz-admin/principal_active.png") if person == person.sheet.person
|
Loading…
x
Reference in New Issue
Block a user