test/dummy/app/models/adminpanel/mug.rb in adminpanel-2.2.5 vs test/dummy/app/models/adminpanel/mug.rb in adminpanel-2.3.0

- old
+ new

@@ -4,23 +4,23 @@ validates_presence_of :name def self.form_attributes [ - { - 'name' => { - 'type' => 'text_field', - 'label' => 'name', - 'placeholder' => 'name' - } - }, - { - 'number' => { - 'type' => 'number_field', - 'label' => 'number', - 'placeholder' => 'number' - } - }, + { + 'name' => { + 'type' => 'text_field', + 'label' => 'name', + 'placeholder' => 'name' + } + }, + { + 'number' => { + 'type' => 'number_field', + 'label' => 'number', + 'placeholder' => 'number' + } + }, ] end def self.display_name 'Taza' #singular