0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-09 20:02:54 +01:00

Property extend wizard field class

Dieser Commit ist enthalten in:
Angus McLeod 2020-04-29 12:28:57 +10:00
Ursprung 857a159d0c
Commit 1f10a9e4f3

Datei anzeigen

@ -10,15 +10,12 @@ module CustomWizardFieldExtension
:content
def initialize(attrs)
super
@attrs = attrs || {}
@id = attrs[:id]
@type = attrs[:type]
@required = !!attrs[:required]
@description = attrs[:description]
@image = attrs[:image]
@key = attrs[:key]
@min_length = attrs[:min_length]
@value = attrs[:value]
@file_types = attrs[:file_types]
@limit = attrs[:limit]
@property = attrs[:property]