removed name test from text

This commit is contained in:
Jack
2018-11-04 13:22:02 +01:00
parent 8bfc6dee46
commit 2fb6625efc
2 changed files with 1 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
{% extends '@bolt/editcontent/fields/_base.twig' %}
{% block field %}
<input name="{{ name }}" placeholder="…" type="number" step="1" value="{{ value }}" class="form-control{{ class }}" {{ attributes|default()|raw }}>
<input name="{{ name }}" placeholder="…" type="number" step="1" value="{{ value }}" class="form-control {{ class }}" {{ attributes|default()|raw }}>
<mark>Note: This field is practically the same as the <code>integer</code>-field.</mark>

View File

@@ -1,7 +1,6 @@
{% extends '@bolt/editcontent/fields/_base.twig' %}
{% block field %}
{{class}}
<editor-text
:value="{{ value|json_encode() }}"
:name="'{{ name }}'"