add_director.tpl 1018 B

1234567891011121314151617181920212223242526272829
  1. {% extends app.template_style ~ "/layout/layout_1_col.tpl" %}
  2. {% block content %}
  3. <link href="{{ _p.web_lib }}javascript/tag/style.css" rel="stylesheet" type="text/css" />
  4. <script src="{{ _p.web_lib }}javascript/tag/jquery.fcbkcomplete.js" type="text/javascript" language="javascript"></script>
  5. <script>
  6. function check() {
  7. }
  8. $(function() {
  9. $("#branch_user_user_id").fcbkcomplete({
  10. json_url: "{{ url('jury.controller:searchUserAction', {'role' : 'ROLE_DIRECTOR'})}}",
  11. maxitems: 1,
  12. addontab: false,
  13. input_min_size: 1,
  14. cache: false,
  15. complete_text: "{{ 'StartToType' | trans}}",
  16. firstselected: false,
  17. onselect: check,
  18. filter_selected: true,
  19. newel: true
  20. });
  21. });
  22. </script>
  23. <form action="{{ url('branch.controller:addDirectorAction', { "id" : id }) }}" method="post" {{ form_enctype(form) }}>
  24. {{ form_widget(form) }}
  25. </form>
  26. {% endblock %}