jablonka.czprosek.czf

freenet-router

Subversion Repositories:
[/] [trunk/] [freenet-router/] [var/] [www/] [freenet-router/] [Framework/] [Resources/] [templates/] [UI/] [SelectBox.twig] - Rev 2

Compare with Previous - Blame - Download


  <select class="form-control"
    style="position:absolute;
     width:{{component.size.x}};
     height:{{component.size.y}};
     top:{{component.position.y}};
     left:{{component.position.x}};"
     id="{{component.fullName}}" 
     name="{{component.name}}" 
     {%if component.onChange|length > 0 %}onchange="invokeStrongEvent($(this),event);"{% endif %}
     >
    {% for key,option in component.options %}
        <option {% if key == component.selected %}selected="selected"{% endif %} value="{{key}}">{{option}}</option>
    {% endfor %}    
  </select>

Powered by WebSVN 2.2.1