Sha256: 919e464f7e923d916fc4f52c69b6e7600ea442b6c5d6218b4cf440734568a775

Contents?: true

Size: 274 Bytes

Versions: 18

Compression:

Stored size: 274 Bytes

Contents

class Tramway::Event::PersonForm < ::Tramway::Core::ApplicationForm
  properties :first_name, :last_name, :photo

  def initialize(object)
    super(object).tap do
      form_properties first_name: :string,
        last_name: :string,
        photo: :file
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
tramway-event-1.8.5 app/forms/tramway/event/person_form.rb
tramway-event-1.8.4 app/forms/tramway/event/person_form.rb
tramway-event-1.8.3 app/forms/tramway/event/person_form.rb
tramway-event-1.8.2 app/forms/tramway/event/person_form.rb
tramway-event-1.8.1.1 app/forms/tramway/event/person_form.rb
tramway-event-1.8.1 app/forms/tramway/event/person_form.rb
tramway-event-1.8 app/forms/tramway/event/person_form.rb
tramway-event-1.7.2 app/forms/tramway/event/person_form.rb
tramway-event-1.7.1 app/forms/tramway/event/person_form.rb
tramway-event-1.7 app/forms/tramway/event/person_form.rb
tramway-event-1.6.4 app/forms/tramway/event/person_form.rb
tramway-event-1.6.3 app/forms/tramway/event/person_form.rb
tramway-event-1.6.2 app/forms/tramway/event/person_form.rb
tramway-event-1.6.1 app/forms/tramway/event/person_form.rb
tramway-event-1.6 app/forms/tramway/event/person_form.rb
tramway-event-1.5.4 app/forms/tramway/event/person_form.rb
tramway-event-1.5.3 app/forms/tramway/event/person_form.rb
tramway-event-1.5.2 app/forms/tramway/event/person_form.rb