diff --git a/definitions/hotel.json b/definitions/hotel.json index 6dca51b..9997962 100644 --- a/definitions/hotel.json +++ b/definitions/hotel.json @@ -93,7 +93,7 @@ }, "priceCurrency": { "title": "Currency", - "type": "text", + "type": "currency", "required": false, "group": 2, "short": true diff --git a/templates/partials/mdl_input.mustache b/templates/partials/mdl_input.mustache index fc8656a..e423136 100644 --- a/templates/partials/mdl_input.mustache +++ b/templates/partials/mdl_input.mustache @@ -25,3 +25,6 @@ {{#fieldtype_status}} {{>mdl_input_status}} {{/fieldtype_status}} +{{#fieldtype_currency}} + {{>mdl_input_currency}} +{{/fieldtype_currency}} diff --git a/templates/partials/mdl_input_currency.mustache b/templates/partials/mdl_input_currency.mustache new file mode 100644 index 0000000..6217bf9 --- /dev/null +++ b/templates/partials/mdl_input_currency.mustache @@ -0,0 +1,7 @@ +
+ +