add_members.tpl 768 B

1234567891011121314151617181920212223242526
  1. {% extends app.template_style ~ "/layout/layout_1_col.tpl" %}
  2. {% block content %}
  3. <script>
  4. function check() {
  5. }
  6. $(function() {
  7. $("#jury_user_user_id").fcbkcomplete({
  8. json_url: "{{ url('jury.controller:searchUserAction')}}",
  9. maxitems: 1,
  10. addontab: false,
  11. input_min_size: 1,
  12. cache: false,
  13. complete_text: "{{ 'StartToType' | trans}}",
  14. firstselected: false,
  15. onselect: check,
  16. filter_selected: true,
  17. newel: true
  18. });
  19. });
  20. </script>
  21. <form action="{{ url('jury.controller:addMembersAction', { "id" : jury_id }) }}" method="post" {{ form_enctype(form) }}>
  22. {{ form_widget(form) }}
  23. </form>
  24. {% endblock %}