Sha256: 7c48938c4ff6de18247eeb54e1cee2ba0b834cbcf2e311ed142b3417f716933d

Contents?: true

Size: 527 Bytes

Versions: 14

Compression:

Stored size: 527 Bytes

Contents

# frozen_string_literal: true

class Admin::Tramway::SportSchool::TrainerForm < ::Tramway::Core::ApplicationForm
  properties :first_name, :last_name, :patronymic, :photo, :degree, :view_state_event, :description

  def initialize(object)
    super(object).tap do
      form_properties first_name: :string,
                      last_name: :string,
                      patronymic: :string,
                      photo: :file,
                      degree: :default,
                      description: :text
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
tramway-sport_school-1.2.12.6 app/forms/admin/tramway/sport_school/trainer_form.rb
tramway-sport_school-1.2.12.5 app/forms/admin/tramway/sport_school/trainer_form.rb
tramway-sport_school-1.2.12.4 app/forms/admin/tramway/sport_school/trainer_form.rb
tramway-sport_school-1.2.12.3 app/forms/admin/tramway/sport_school/trainer_form.rb
tramway-sport_school-1.2.12.2 app/forms/admin/tramway/sport_school/trainer_form.rb
tramway-sport_school-1.2.12.1 app/forms/admin/tramway/sport_school/trainer_form.rb
tramway-sport_school-1.2.12 app/forms/admin/tramway/sport_school/trainer_form.rb
tramway-sport_school-1.2.11.3 app/forms/admin/tramway/sport_school/trainer_form.rb
tramway-sport_school-1.2.11.2 app/forms/admin/tramway/sport_school/trainer_form.rb
tramway-sport_school-1.2.11.1 app/forms/admin/tramway/sport_school/trainer_form.rb
tramway-sport_school-1.2.11 app/forms/admin/tramway/sport_school/trainer_form.rb
tramway-sport_school-1.2.10.6 app/forms/admin/tramway/sport_school/trainer_form.rb
tramway-sport_school-1.2.10.5 app/forms/admin/tramway/sport_school/trainer_form.rb
tramway-sport_school-1.2.10.4 app/forms/admin/tramway/sport_school/trainer_form.rb