Skip to content

Commit 33f5a89

Browse files
committed
Fixing method - locals are already set in a parent class
1 parent fc88e16 commit 33f5a89

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lib/formbuilder/views/form.rb

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,6 @@ class Form < Erector::Widget
1010
method: 'POST',
1111
extradata: {}
1212

13-
def initialize
14-
@form = form unless form.nil?
15-
@entry = entry unless entry.nil?
16-
end
17-
1813
def content
1914
page_list if @form.multi_page?
2015

0 commit comments

Comments
 (0)