Skip to content

Commit 3eca642

Browse files
committed
converted form to matestack_form
1 parent 9145b70 commit 3eca642

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

docs/getting-started/quick-start.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ class TwitterClone::Pages::Posts::Index < Matestack::Ui::Page
546546
def post_form_partial
547547
div class: "mb-3 p-3 rounded shadow-sm" do
548548
heading size: 4, text: "New Post", class: "mb-3"
549-
form form_config_helper do
549+
matestack_form form_config_helper do
550550
# ...
551551
end
552552
end
@@ -1280,7 +1280,7 @@ class TwitterClone::Pages::Posts::Index < Matestack::Ui::Page
12801280
def post_form_partial
12811281
div class: "mb-3 p-3 rounded shadow-sm" do
12821282
heading size: 4, text: "New Post", class: "mb-3"
1283-
form form_config_helper do
1283+
matestack_form form_config_helper do
12841284
# div class: "mb-3" do
12851285
# form_input key: :username, type: :text, placeholder: "Username", class: "form-control"
12861286
# end
@@ -1586,8 +1586,6 @@ And now, let's do something that isn't possible in Twitter: Editing. Tweets. Inl
15861586

15871587
`app/matestack/components/post.rb`
15881588

1589-
# todo: context.post
1590-
15911589
```ruby
15921590
class Components::Post < Matestack::Ui::Component
15931591

0 commit comments

Comments
 (0)