Skip to content

Commit

Permalink
docs: rename to template and script
Browse files Browse the repository at this point in the history
  • Loading branch information
davidberenstein1957 committed Oct 7, 2024
1 parent 754a9ba commit e32a32f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions argilla/docs/how_to_guides/custom_fields.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ When `advanced_mode=True`, you can use the `template` argument to pass a full HT
Let's reproduce example from the [Without advanced mode](#without-advanced-mode) section but this time we will insert the [handlebars syntax engine](https://handlebarsjs.com/) into the template ourselves.

```python
render_template = """
template = """
<div id="custom-field-container"></div>
<script id="template" type="text/x-handlebars-template">
<div id="container">
Expand Down Expand Up @@ -215,7 +215,7 @@ import argilla as rg

custom_field = rg.CustomField(
name="image",
template=render_template + script,
template=template + script,
advanced_mode=True
)
```
Expand Down

0 comments on commit e32a32f

Please sign in to comment.