Skip to content

Commit

Permalink
フォームのinput要素に閉じタグを追記
Browse files Browse the repository at this point in the history
  • Loading branch information
izayoi256 committed Dec 1, 2016
1 parent fbc1d9e commit 2844af8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/Eccube/Resource/template/admin/Form/form_layout.twig
Expand Up @@ -137,11 +137,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
{%- if freeze_display_text -%}
{{ choice.label|trans({}, translation_domain) }}
{% endif %}
<input type="hidden" value="{{ choice.value }}" {{ block('widget_attributes') }}>
<input type="hidden" value="{{ choice.value }}" {{ block('widget_attributes') }} />
{% set flag = true %}
{% endif %}
{% endfor %}
{% if flag == false %}<input type="hidden" value="" {{ block('widget_attributes') }}>{% endif %}
{% if flag == false %}<input type="hidden" value="" {{ block('widget_attributes') }} />{% endif %}
{%- else -%}
{{- parent() -}}
{%- endif -%}
Expand All @@ -153,7 +153,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
{%- if freeze_display_text -%}
{{ form.vars.data.name|default(form.vars.data) }}
{%- endif -%}
<input type="hidden" value="{{ form.vars.data.id|default(form.vars.data) }}" {{ block('widget_attributes') }}>
<input type="hidden" value="{{ form.vars.data.id|default(form.vars.data) }}" {{ block('widget_attributes') }} />
{%- else -%}
{{- parent() -}}
{%- endif -%}
Expand Down
6 changes: 3 additions & 3 deletions src/Eccube/Resource/template/default/Form/form_layout.twig
Expand Up @@ -112,11 +112,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
{%- if freeze_display_text -%}
{{ choice.label|trans({}, translation_domain) }}
{% endif %}
<input type="hidden" value="{{ choice.value }}" {{ block('widget_attributes') }}>
<input type="hidden" value="{{ choice.value }}" {{ block('widget_attributes') }} />
{% set flag = true %}
{% endif %}
{% endfor %}
{% if flag == false %}<input type="hidden" value="" {{ block('widget_attributes') }}>{% endif %}
{% if flag == false %}<input type="hidden" value="" {{ block('widget_attributes') }} />{% endif %}
{%- else -%}
{{- parent() -}}
{%- endif -%}
Expand All @@ -128,7 +128,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
{%- if freeze_display_text -%}
{{ form.vars.data.name|default(form.vars.data) }}
{%- endif -%}
<input type="hidden" value="{{ form.vars.data.id|default(form.vars.data) }}" {{ block('widget_attributes') }}>
<input type="hidden" value="{{ form.vars.data.id|default(form.vars.data) }}" {{ block('widget_attributes') }} />
{%- else -%}
{{- parent() -}}
{%- endif -%}
Expand Down

0 comments on commit 2844af8

Please sign in to comment.