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.0.pre.beta11 app/models/renalware/patients/search_form.rb
renalware-core-2.0.0.pre.beta10 app/models/renalware/patients/search_form.rb
renalware-core-2.0.0.pre.beta9 app/models/renalware/patients/search_form.rb
renalware-core-2.0.0.pre.beta8 app/models/renalware/patients/search_form.rb