Registration form more-or-less working, workshop scaffold is up

This commit is contained in:
Godwin
2014-03-13 21:20:17 -06:00
parent 4b79de7a24
commit 3d6ad3b432
22 changed files with 383 additions and 19 deletions
+8
View File
@@ -56,6 +56,14 @@ class RegistrationFormField < ActiveRecord::Base
o
end
def repeats?()
field_type.to_s == 'multiple' && selection_type.to_s != 'select'
end
def is_array?()
field_type.to_s == 'multiple' && selection_type.to_s != 'radio_button'
end
private
def get_from_options(key)
if options
+2
View File
@@ -0,0 +1,2 @@
class Workshop < ActiveRecord::Base
end