Sha256: 38ce1bcdb897c416668a138c5e6db6b9459cc88789d44ca7235089e7fee1ea0b

Contents?: true

Size: 466 Bytes

Versions: 24

Compression:

Stored size: 466 Bytes

Contents

require_dependency "renalware/patients"

# A form object for use behind a form (see to_partial_path) which can add a patient filter
# to a page. See Letters/ElectronicReceiptsController for an example.
# Works in concert with Patients::SearchQuery.
module Renalware
  module Patients
    class SearchForm
      include ActiveModel::Model
      attr_accessor :term, :url

      def to_partial_path
        "renalware/patients/search_form"
      end
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
renalware-core-2.0.8 app/models/renalware/patients/search_form.rb
renalware-core-2.0.7 app/models/renalware/patients/search_form.rb
renalware-core-2.0.5 app/models/renalware/patients/search_form.rb
renalware-core-2.0.4 app/models/renalware/patients/search_form.rb
renalware-core-2.0.3 app/models/renalware/patients/search_form.rb
renalware-core-2.0.2 app/models/renalware/patients/search_form.rb
renalware-core-2.0.1 app/models/renalware/patients/search_form.rb
renalware-core-2.0.0 app/models/renalware/patients/search_form.rb
renalware-core-2.0.0.pre.rc13 app/models/renalware/patients/search_form.rb
renalware-core-2.0.0.pre.rc11 app/models/renalware/patients/search_form.rb
renalware-core-2.0.0.pre.rc10 app/models/renalware/patients/search_form.rb
renalware-core-2.0.0.pre.rc9 app/models/renalware/patients/search_form.rb
renalware-core-2.0.0.pre.rc8 app/models/renalware/patients/search_form.rb
renalware-core-2.0.0.pre.rc7 app/models/renalware/patients/search_form.rb
renalware-core-2.0.0.pre.rc6 app/models/renalware/patients/search_form.rb
renalware-core-2.0.0.pre.rc5 app/models/renalware/patients/search_form.rb
renalware-core-2.0.0.pre.rc4 app/models/renalware/patients/search_form.rb
renalware-core-2.0.0.pre.rc3 app/models/renalware/patients/search_form.rb
renalware-core-2.0.0.pre.rc1 app/models/renalware/patients/search_form.rb
renalware-core-2.0.0.pre.beta12 app/models/renalware/patients/search_form.rb