From 9fee38718374d8138c142614e936e71b804a2ce9 Mon Sep 17 00:00:00 2001 From: f Date: Thu, 20 Aug 2020 19:51:51 -0300 Subject: [PATCH] =?UTF-8?q?imagen,=20archivo,=20tel=C3=A9fono?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _includes/file.html | 8 +++++--- _includes/form/image.html | 1 + _includes/form/tel.html | 1 + _includes/image.html | 32 ++++++++++++++++++++++++++++++++ _includes/tel.html | 1 + 5 files changed, 40 insertions(+), 3 deletions(-) create mode 120000 _includes/form/image.html create mode 120000 _includes/form/tel.html create mode 100644 _includes/image.html create mode 100644 _includes/tel.html diff --git a/_includes/file.html b/_includes/file.html index 14744bf..053b95e 100644 --- a/_includes/file.html +++ b/_includes/file.html @@ -2,7 +2,9 @@ {%- assign id = include.field[1].id | default: name -%} {%- assign label = include.field[1]['path'].label[site.locale] -%} {%- assign help = include.field[1]['path'].help[site.locale] -%} -{%- assign autocomplete = include.field[1].autocomplete -%} +{%- assign accept = include.field[1].accept -%} + +
diff --git a/_includes/form/image.html b/_includes/form/image.html new file mode 120000 index 0000000..5b78d22 --- /dev/null +++ b/_includes/form/image.html @@ -0,0 +1 @@ +../image.html \ No newline at end of file diff --git a/_includes/form/tel.html b/_includes/form/tel.html new file mode 120000 index 0000000..875b65a --- /dev/null +++ b/_includes/form/tel.html @@ -0,0 +1 @@ +../tel.html \ No newline at end of file diff --git a/_includes/image.html b/_includes/image.html new file mode 100644 index 0000000..75b12e3 --- /dev/null +++ b/_includes/image.html @@ -0,0 +1,32 @@ +{%- assign name = include.field[0] -%} +{%- assign id = include.field[1].id | default: name -%} +{%- assign label = include.field[1]['path'].label[site.locale] -%} +{%- assign help = include.field[1]['path'].help[site.locale] -%} + + + +
+ + + + + {%- if help -%} + + {{ help }} + + {%- endif -%} +
diff --git a/_includes/tel.html b/_includes/tel.html new file mode 100644 index 0000000..a92aa57 --- /dev/null +++ b/_includes/tel.html @@ -0,0 +1 @@ +{% include input.html field=field %}