Skip to content
This repository has been archived by the owner on May 2, 2023. It is now read-only.

Commit

Permalink
Update search-form.md (Fix code display)
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt committed Feb 21, 2019
1 parent 72483ba commit 0d2dc7f
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions src/ec/packages/ec-component-search-form/docs/search-form.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,21 @@ npm install --save @ecl-twig/ec-component-search-form
### Example:

```twig
{% include 'path/to/icon.html.twig' with {
text_input: {
id: 'input-search',
name: 'search',
extra_classes: 'ecl-search-form__text-input'
},
button: {
variant: 'search',
icon: {
type: 'general',
name: 'search',
path: '/path-to-the-icon-file',
},
label: 'Search',
extra_classes: 'ecl-search-form__button'
}
{% include 'path/to/icon.html.twig' with {
text_input: {
id: 'input-search',
name: 'search',
extra_classes: 'ecl-search-form__text-input'
},
button: {
variant: 'search',
icon: {
type: 'general',
name: 'search',
path: '/path-to-the-icon-file',
},
label: 'Search',
extra_classes: 'ecl-search-form__button'
}
} %}
```

0 comments on commit 0d2dc7f

Please sign in to comment.