suite
This commit is contained in:
parent
9b86a9a314
commit
4519c9040e
@ -12,7 +12,7 @@ class Particular < ApplicationRecord
|
||||
#validates :firstname, :presence => true, :if => :force_validation
|
||||
validates :email, :presence => true, :format => /\A([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})\z/i, :if => :force_email_validation
|
||||
#validates :address_2, :presence => true, :if => :force_validation
|
||||
validates :cp, :presence => true, :if => :force_validation
|
||||
#validates :cp, :presence => true, :if => :force_validation
|
||||
#validates :city, :presence => true, :if => :force_validation
|
||||
validates :country, :presence => true, :if => :force_validation
|
||||
#validates :tel, :presence => true, :if => :force_validation
|
||||
|
@ -97,8 +97,9 @@
|
||||
=particular_doc.cp
|
||||
|
||||
=particular_doc.city
|
||||
%br
|
||||
=particular_doc.country
|
||||
-if false
|
||||
%br
|
||||
=particular_doc.country
|
||||
|
||||
%td{:style => "width:50%;"}
|
||||
%strong Adresse de facturation
|
||||
@ -133,8 +134,9 @@
|
||||
=particular_doc.cp
|
||||
|
||||
=particular_doc.city
|
||||
%br
|
||||
=particular_doc.country
|
||||
-if false
|
||||
%br
|
||||
=particular_doc.country
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user