diff --git a/_includes/content.html b/_includes/content.html new file mode 100644 index 0000000..8743e31 --- /dev/null +++ b/_includes/content.html @@ -0,0 +1 @@ +{% include text.html field=field %} diff --git a/_includes/file.html b/_includes/file.html new file mode 100644 index 0000000..14744bf --- /dev/null +++ b/_includes/file.html @@ -0,0 +1,33 @@ +{%- 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] -%} +{%- assign autocomplete = include.field[1].autocomplete -%} + +
+ + + + + {%- if help -%} + + {{ help }} + + {%- endif -%} +
diff --git a/_includes/form/content.html b/_includes/form/content.html new file mode 120000 index 0000000..a815a74 --- /dev/null +++ b/_includes/form/content.html @@ -0,0 +1 @@ +../content.html \ No newline at end of file diff --git a/_includes/form/file.html b/_includes/form/file.html new file mode 120000 index 0000000..6e5ea5d --- /dev/null +++ b/_includes/form/file.html @@ -0,0 +1 @@ +../file.html \ No newline at end of file diff --git a/_includes/form/markdown_content.html b/_includes/form/markdown_content.html new file mode 120000 index 0000000..422b4d6 --- /dev/null +++ b/_includes/form/markdown_content.html @@ -0,0 +1 @@ +../markdown_content.html \ No newline at end of file diff --git a/_includes/markdown_content.html b/_includes/markdown_content.html new file mode 100644 index 0000000..8743e31 --- /dev/null +++ b/_includes/markdown_content.html @@ -0,0 +1 @@ +{% include text.html field=field %}