diff --git a/docs/3.0/fields/money.md b/docs/3.0/fields/money.md index c01518c1..7037faf9 100644 --- a/docs/3.0/fields/money.md +++ b/docs/3.0/fields/money.md @@ -11,6 +11,27 @@ The `Money` field is used to display a monetary value. ```ruby field :price, as: :money, currencies: %w[EUR USD RON PEN] ``` +## Money Field Example + +You can explore the implementation of the money field in [avodemo](https://main.avodemo.com/avo/resources/products/new) and it's corresponding code on GitHub [here](https://github.com/avo-hq/main.avodemo.com/blob/main/app/avo/resources/product.rb) + +### Example on new + + + + + +### Example on show with currencies USD + + + +### Example on show with currencies RON + + + +### Example on index + + ## Installation diff --git a/docs/public/assets/img/money-field-index.png b/docs/public/assets/img/money-field-index.png new file mode 100644 index 00000000..de829011 Binary files /dev/null and b/docs/public/assets/img/money-field-index.png differ diff --git a/docs/public/assets/img/money-field-show-lei.png b/docs/public/assets/img/money-field-show-lei.png new file mode 100644 index 00000000..2ad54b5d Binary files /dev/null and b/docs/public/assets/img/money-field-show-lei.png differ diff --git a/docs/public/assets/img/money-field-show.png b/docs/public/assets/img/money-field-show.png new file mode 100644 index 00000000..2c0ab660 Binary files /dev/null and b/docs/public/assets/img/money-field-show.png differ diff --git a/docs/public/assets/img/money-field.png b/docs/public/assets/img/money-field.png new file mode 100644 index 00000000..07708ed4 Binary files /dev/null and b/docs/public/assets/img/money-field.png differ diff --git a/docs/public/assets/img/money-field2.png b/docs/public/assets/img/money-field2.png new file mode 100644 index 00000000..4475027a Binary files /dev/null and b/docs/public/assets/img/money-field2.png differ