Submit
Path:
~
/
/
usr
/
local
/
psa
/
phpMyAdmin
/
templates
/
table
/
relation
/
File Content:
relational_dropdown.twig
<select name="{{ name }}" title="{{ title }}"> <option value=""></option> {% set seen_key = false %} {% for value in values %} <option value="{{ value }}" {%- if (foreign is not same as(false) and value == foreign) or (not foreign and db is defined and db is same as (value)) %} selected="selected" {%- set seen_key = true -%} {%- endif %}> {{ value }} </option> {% endfor %} {% if foreign is not same as(false) and foreign != "" and not seen_key %} <option value="{{ foreign }}" selected="selected"> {{ foreign }} </option> {% endif %} </select>
Submit
FILE
FOLDER
INFO
Name
Size
Permission
Action
common_form.twig
11723 bytes
0644
dropdown_generate.twig
309 bytes
0644
foreign_key_row.twig
5839 bytes
0644
relational_dropdown.twig
697 bytes
0644
N4ST4R_ID | Naxtarrr