Skip to content

Commit aa373d4

Browse files
committed
form_submit to button
1 parent 7bb58af commit aa373d4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

docs/getting-started/quick-start.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -299,9 +299,7 @@ class TwitterClone::Pages::Posts::Index < Matestack::Ui::Page
299299
form_textarea key: :body, placeholder: "What's up?", class: "form-control"
300300
end
301301
div class: "mb-3" do
302-
form_submit do
303-
button type: :submit, class: "btn btn-primary", text: "Post!"
304-
end
302+
button 'submit', type: :submit, class: "btn btn-primary", text: "Post!"
305303
end
306304
end
307305
end

0 commit comments

Comments
 (0)