Sha256: 0dd57a84ab8028a8e976a2be83347f96f94bd1cb1f5c3100677dacc46fbfb8fb

Contents?: true

Size: 299 Bytes

Versions: 67

Compression:

Stored size: 299 Bytes

Contents

class Tramway::Event::ParticipantFormField < ::Tramway::Event::ApplicationRecord
  belongs_to :event, class_name: 'Tramway::Event::Event'

  enumerize :field_type, in: [ :text, :string, :numeric, :date_picker, :select ], default: :text

  scope :inputs_list, -> { active.order(position: :asc) }
end

Version data entries

67 entries across 67 versions & 1 rubygems

Version Path
tramway-event-1.9.7 app/models/tramway/event/participant_form_field.rb
tramway-event-1.9.6 app/models/tramway/event/participant_form_field.rb
tramway-event-1.9.5 app/models/tramway/event/participant_form_field.rb
tramway-event-1.9.4 app/models/tramway/event/participant_form_field.rb
tramway-event-1.9.3 app/models/tramway/event/participant_form_field.rb
tramway-event-1.9.2 app/models/tramway/event/participant_form_field.rb
tramway-event-1.9.1 app/models/tramway/event/participant_form_field.rb
tramway-event-1.9 app/models/tramway/event/participant_form_field.rb
tramway-event-1.8.10 app/models/tramway/event/participant_form_field.rb
tramway-event-1.8.9 app/models/tramway/event/participant_form_field.rb
tramway-event-1.8.8 app/models/tramway/event/participant_form_field.rb
tramway-event-1.8.7 app/models/tramway/event/participant_form_field.rb
tramway-event-1.8.6 app/models/tramway/event/participant_form_field.rb
tramway-event-1.8.5 app/models/tramway/event/participant_form_field.rb
tramway-event-1.8.4 app/models/tramway/event/participant_form_field.rb
tramway-event-1.8.3 app/models/tramway/event/participant_form_field.rb
tramway-event-1.8.2 app/models/tramway/event/participant_form_field.rb
tramway-event-1.8.1.1 app/models/tramway/event/participant_form_field.rb
tramway-event-1.8.1 app/models/tramway/event/participant_form_field.rb
tramway-event-1.8 app/models/tramway/event/participant_form_field.rb