Update website
This commit is contained in:
parent
41ce1aa076
commit
ea0eb1c6e0
4222 changed files with 721797 additions and 14 deletions
|
@ -0,0 +1,22 @@
|
|||
{% if submit_attribute is defined and submit_attribute != false %}
|
||||
{% set attribute = submit_attribute %}
|
||||
{# MariaDB has additional parentheses #}
|
||||
{% elseif column_meta['Extra'] is defined
|
||||
and ('on update current_timestamp' in column_meta['Extra'] or 'on update current_timestamp()' in column_meta['Extra']|lower) %}
|
||||
{% set attribute = 'on update CURRENT_TIMESTAMP' %}
|
||||
{% elseif extracted_columnspec['attribute'] is defined %}
|
||||
{% set attribute = extracted_columnspec['attribute'] %}
|
||||
{% else %}
|
||||
{% set attribute = '' %}
|
||||
{% endif %}
|
||||
{% set attribute = attribute|upper %}
|
||||
<select name="field_attribute[{{ column_number }}]"
|
||||
id="field_{{ column_number }}_{{ ci - ci_offset }}">
|
||||
{% set cnt_attribute_types = attribute_types|length - 1 %}
|
||||
{% for i in 0..cnt_attribute_types %}
|
||||
<option value="{{ attribute_types[i] }}"
|
||||
{{- attribute == attribute_types[i]|upper ? ' selected="selected"' }}>
|
||||
{{ attribute_types[i] }}
|
||||
</option>
|
||||
{% endfor %}
|
||||
</select>
|
Loading…
Add table
Add a link
Reference in a new issue