Add type champs "Address" plug at the BAN
This commit is contained in:
parent
35a07aec87
commit
23ab25396f
18 changed files with 2804 additions and 13 deletions
|
@ -7,4 +7,9 @@ class Champ < ActiveRecord::Base
|
|||
def mandatory?
|
||||
mandatory
|
||||
end
|
||||
|
||||
def data_provide
|
||||
return 'datepicker' if type_champ == 'datetime'
|
||||
return 'typeahead' if type_champ == 'address'
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue