From ab27eaaed5357d624edd12ea22bc4e88401b5a1d Mon Sep 17 00:00:00 2001 From: f Date: Wed, 20 May 2020 19:36:05 -0300 Subject: [PATCH] Formularios --- _includes/boolean.html | 1 + _includes/email.html | 1 + _includes/form/boolean.html | 25 +++++++++++++++++++++++ _includes/form/email.html | 1 + _includes/form/input.html | 24 ++++++++++++++++++++++ _includes/form/number.html | 1 + _includes/form/predefined_array.html | 30 ++++++++++++++++++++++++++++ _includes/form/section.html | 1 + _includes/form/separator.html | 1 + _includes/form/string.html | 1 + _includes/form/submit.html | 1 + _includes/form/text.html | 24 ++++++++++++++++++++++ _includes/form/url.html | 1 + _includes/input.html | 1 + _includes/navbar.html | 10 +++++----- _includes/number.html | 1 + _includes/predefined_array.html | 1 + _includes/section.html | 1 + _includes/separator.html | 1 + _includes/string.html | 1 + _includes/submit.html | 1 + _includes/text.html | 1 + _includes/url.html | 1 + 23 files changed, 126 insertions(+), 5 deletions(-) create mode 120000 _includes/boolean.html create mode 120000 _includes/email.html create mode 100644 _includes/form/boolean.html create mode 100644 _includes/form/email.html create mode 100644 _includes/form/input.html create mode 100644 _includes/form/number.html create mode 100644 _includes/form/predefined_array.html create mode 100644 _includes/form/section.html create mode 100644 _includes/form/separator.html create mode 100644 _includes/form/string.html create mode 100644 _includes/form/submit.html create mode 100644 _includes/form/text.html create mode 100644 _includes/form/url.html create mode 120000 _includes/input.html create mode 120000 _includes/number.html create mode 120000 _includes/predefined_array.html create mode 120000 _includes/section.html create mode 120000 _includes/separator.html create mode 120000 _includes/string.html create mode 120000 _includes/submit.html create mode 120000 _includes/text.html create mode 120000 _includes/url.html diff --git a/_includes/boolean.html b/_includes/boolean.html new file mode 120000 index 0000000..b123d46 --- /dev/null +++ b/_includes/boolean.html @@ -0,0 +1 @@ +form/boolean.html \ No newline at end of file diff --git a/_includes/email.html b/_includes/email.html new file mode 120000 index 0000000..01f349c --- /dev/null +++ b/_includes/email.html @@ -0,0 +1 @@ +form/email.html \ No newline at end of file diff --git a/_includes/form/boolean.html b/_includes/form/boolean.html new file mode 100644 index 0000000..1e0ee21 --- /dev/null +++ b/_includes/form/boolean.html @@ -0,0 +1,25 @@ +
+ + + + + {%- if include.field[1].help -%} + + {{ include.field[1].help }} + + {%- endif -%} +
diff --git a/_includes/form/email.html b/_includes/form/email.html new file mode 100644 index 0000000..a92aa57 --- /dev/null +++ b/_includes/form/email.html @@ -0,0 +1 @@ +{% include input.html field=field %} diff --git a/_includes/form/input.html b/_includes/form/input.html new file mode 100644 index 0000000..36253b8 --- /dev/null +++ b/_includes/form/input.html @@ -0,0 +1,24 @@ +
+ + + + + {%- if include.field[1].help -%} + + {{ include.field[1].help }} + + {%- endif -%} +
diff --git a/_includes/form/number.html b/_includes/form/number.html new file mode 100644 index 0000000..a92aa57 --- /dev/null +++ b/_includes/form/number.html @@ -0,0 +1 @@ +{% include input.html field=field %} diff --git a/_includes/form/predefined_array.html b/_includes/form/predefined_array.html new file mode 100644 index 0000000..883c59b --- /dev/null +++ b/_includes/form/predefined_array.html @@ -0,0 +1,30 @@ +
+ + + + + {%- if include.field[1].help -%} + + {{ include.field[1].help }} + + {%- endif -%} +
diff --git a/_includes/form/section.html b/_includes/form/section.html new file mode 100644 index 0000000..711e1a0 --- /dev/null +++ b/_includes/form/section.html @@ -0,0 +1 @@ +

{{ include.field[1].title }}

diff --git a/_includes/form/separator.html b/_includes/form/separator.html new file mode 100644 index 0000000..031bf8e --- /dev/null +++ b/_includes/form/separator.html @@ -0,0 +1 @@ +
diff --git a/_includes/form/string.html b/_includes/form/string.html new file mode 100644 index 0000000..a92aa57 --- /dev/null +++ b/_includes/form/string.html @@ -0,0 +1 @@ +{% include input.html field=field %} diff --git a/_includes/form/submit.html b/_includes/form/submit.html new file mode 100644 index 0000000..ce8862a --- /dev/null +++ b/_includes/form/submit.html @@ -0,0 +1 @@ + diff --git a/_includes/form/text.html b/_includes/form/text.html new file mode 100644 index 0000000..46b0c8c --- /dev/null +++ b/_includes/form/text.html @@ -0,0 +1,24 @@ +
+ + + + + {%- if include.field[1].help -%} + + {{ include.field[1].help }} + + {%- endif -%} +
diff --git a/_includes/form/url.html b/_includes/form/url.html new file mode 100644 index 0000000..a92aa57 --- /dev/null +++ b/_includes/form/url.html @@ -0,0 +1 @@ +{% include input.html field=field %} diff --git a/_includes/input.html b/_includes/input.html new file mode 120000 index 0000000..b4b7e3f --- /dev/null +++ b/_includes/input.html @@ -0,0 +1 @@ +form/input.html \ No newline at end of file diff --git a/_includes/navbar.html b/_includes/navbar.html index 40b5d32..94bb74d 100644 --- a/_includes/navbar.html +++ b/_includes/navbar.html @@ -1,6 +1,6 @@