We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce64ce9 commit c1eed0dCopy full SHA for c1eed0d
docs/components/template.md
@@ -14,7 +14,7 @@ Expects a string with all ids the `<template>` should have.
14
#### # class (optional)
15
Expects a string with all classes the `<template>` should have.
16
17
-## Example 1: Yield a given block
+## Example 1: Yield other components inside a template
18
19
```ruby
20
template id: 'foo', class: 'bar' do
@@ -30,7 +30,7 @@ returns
30
</template>
31
```
32
33
-## Example 2: Render `options[:text]` param
+## Example 2: Render a given block, e.g. a partial
34
35
36
0 commit comments