ministryofjustice/atet

View on GitHub
app/forms/diversities/religion_form.rb

Summary

Maintainability
A
0 mins
Test Coverage
module Diversities
  class ReligionForm < Form
    RELIGION = ["no-religion",
                "christian-including-church-of-england-catholic-protestant-and-all-other-christian-denominations",
                "buddhist", "hindu", "jewish", "muslim", "sikh",
                "prefer-not-to-say", "any-other-religion"].freeze

    attribute :religion, :string
    attribute :religion_text, :string
  end
end