Skip to content

Commit c1eed0d

Browse files
fix documentation headlines
1 parent ce64ce9 commit c1eed0d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/components/template.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Expects a string with all ids the `<template>` should have.
1414
#### # class (optional)
1515
Expects a string with all classes the `<template>` should have.
1616

17-
## Example 1: Yield a given block
17+
## Example 1: Yield other components inside a template
1818

1919
```ruby
2020
template id: 'foo', class: 'bar' do
@@ -30,7 +30,7 @@ returns
3030
</template>
3131
```
3232

33-
## Example 2: Render `options[:text]` param
33+
## Example 2: Render a given block, e.g. a partial
3434

3535
```ruby
3636
template id: 'foo', class: 'bar' do

0 commit comments

Comments
 (0)