Skip to content

Commit 4f3230f

Browse files
jonasjabarigitbook-bot
authored andcommitted
GitBook: [master] one page modified
1 parent 52b1d2f commit 4f3230f

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

docs/getting-started/quick-start.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ _This guide utilizes the full power of Matestack and uses `matestack-ui-core` as
1515
```bash
1616
rails new twitter_clone --webpacker
1717
cd twitter_clone
18-
bundle add matestack-ui-core --version "~> 1.3.2"
19-
yarn add https://github.com/matestack/matestack-ui-core#v1.3.2
18+
bundle add matestack-ui-core
19+
yarn add matestack-ui-core
2020
```
2121

2222
* [x] Use Rails scaffolder in order to setup some files:
@@ -95,7 +95,7 @@ On `app/views/layouts/application.html.erb` do:
9595

9696
`app/views/layouts/application.html.erb`
9797

98-
```text
98+
```markup
9999
<!DOCTYPE html>
100100
<html>
101101
<head>
@@ -384,7 +384,10 @@ You should see a basic index page with a form on top. When submitting the form w
384384
def form_config_helper
385385
{
386386
for: Post.new, path: posts_path, method: :post,
387-
errors: { wrapper: { tag: :div, class: 'invalid-feedback' }, input: { class: 'is-invalid' } },
387+
errors: {
388+
wrapper: { tag: :div, class: 'invalid-feedback' },
389+
input: { class: 'is-invalid' }
390+
},
388391
success: { emit: "submitted" }
389392
}
390393
end

0 commit comments

Comments
 (0)