Class: Renalware::Forms::Generic::Homecare::V1::Base
- Defined in:
- lib/renalware/forms/generic/homecare/v1/base.rb
Direct Known Subclasses
Allergies, DeliveryFrequencies, Document, Footer, Heading, Medications, PatientDetails, PrescriptionDurations, Signoff
Constant Summary collapse
- TABLE_WIDTH =
555
Constants inherited from Base
Base::CHECKBOX, Base::EMPTY_CHECKBOX
Instance Method Summary collapse
Methods inherited from Base
#borderless_table_style, #cell_with_leading_checkbox, #cell_with_trailing_checkbox, #underlined_table_style
Instance Method Details
#heading(text, **options) ⇒ Object
20 21 22 23 24 25 26 |
# File 'lib/renalware/forms/generic/homecare/v1/base.rb', line 20 def heading(text, **) { content: text, font_style: :bold, ** } end |
#table_styles(**options) ⇒ Object
9 10 11 12 13 14 15 16 17 18 |
# File 'lib/renalware/forms/generic/homecare/v1/base.rb', line 9 def table_styles(**) { cell_style: { padding: [1, 5, 1, 1], border_width: 0.5, border_color: "AAAAAA", ** } } end |