Class: Koi::Helpers::AttributeTypes::ArchivedType

Inherits:
Base
  • Object
show all
Defined in:
lib/generators/koi/helpers/attribute_types.rb

Instance Attribute Summary

Attributes inherited from Base

#attribute

Instance Method Summary collapse

Methods inherited from Base

#collection_attribute, #govuk_input, #index_row, #initialize

Constructor Details

This class inherits a constructor from Koi::Helpers::AttributeTypes::Base

Instance Method Details

#show_rowObject



164
165
166
# File 'lib/generators/koi/helpers/attribute_types.rb', line 164

def show_row
  %(<% row.boolean :archived %>)
end