1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-20 11:51:28 +02:00

feat(admin-plugin): fix delivery template #211

This commit is contained in:
Awilum
2020-01-24 15:18:56 +03:00
parent 0aadc75a0e
commit de25c59e69

View File

@@ -56,8 +56,8 @@
<div class="mb-2">
<label for="type" class="block mb-1 font-bold">{{ tr('admin_state') }}</label>
<select class="w-full border border-black border-2 outline-none px-1 py-2" name="state">
<option value="enabled" {% if api_token_data.state == 'enabled' %} selected{% endif %}="selected{% endif %}">{{ tr('admin_enabled') }}</option>
<option value="disabled" {% if api_token_data.state == 'disabled' %} selected{% endif %}="selected{% endif %}">{{ tr('admin_disabled') }}</option>
<option value="enabled" {% if api_token_data.state == 'enabled' %} selected="selected" {% endif %}>{{ tr('admin_enabled') }}</option>
<option value="disabled" {% if api_token_data.state == 'disabled' %} selected="selected" {% endif %} ">{{ tr('admin_disabled') }}</option>
</select>
</div>
<div class="mb-2">