Guest User

Untitled

a guest
Oct 22nd, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.44 KB | None | 0 0
  1. {% extends "ApplicationChallengerzBundle::layout.html.twig" %}
  2. {% block title %}
  3. {{ 'challenge.titre.jepublie' | trans }}
  4. {% endblock %}
  5.  
  6. {% block head %}
  7. <style type="text/css">@import url("{{ asset('/bundles/applicationchallengerz/css/style_challenge.css') }}");</style>
  8. <style type="text/css">@import url("{{ asset('/bundles/applicationchallengerz/css/autocomplete.css') }}");</style>
  9. <script type="text/javascript" src="{{ asset('/bundles/applicationchallengerz/js/challenge.js') }}"></script>
  10. {% endblock %}
  11.  
  12.  
  13.  
  14. {% block content %}
  15. <div class="div_creationChallenge">
  16. <div class="sectionTitle" id="sectionTitleChallenge">
  17. <h1>{{ 'challenge.suggestiontonchallenge'|trans }}</h1>
  18. </div>
  19.  
  20. <div class="challengeCreation">
  21.  
  22. <form action="{{ path('challenge_create') }}" method="post" {{ form_enctype(formChallenge) }}>
  23. {{ form_errors(formChallenge) }}
  24. <div id="challenge">
  25. <table>
  26. <tr>
  27. <th>
  28. {{ form_label(formChallenge.title) }}
  29. </th>
  30. <td>
  31. {{ form_errors(formChallenge.title) }}
  32. {{ form_widget(formChallenge.title) }}
  33. <div id="search_suggest"></div>
  34. </td>
  35. </tr>
  36. <tr>
  37. <th>
  38. {{ form_label(formChallenge.category) }}
  39. </th>
  40. <td>
  41. {{ form_errors(formChallenge.category) }}
  42. {{ form_widget(formChallenge.category) }}
  43. </td>
  44. </tr>
  45. <tr>
  46. <th>
  47. {{ form_label(formChallenge.pseudo) }}
  48. </th>
  49. <td>
  50. {{ form_errors(formChallenge.pseudo) }}
  51. {{ form_widget(formChallenge.pseudo) }}
  52. </td>
  53. </tr>
  54. </table>
  55. </div>
  56. <div class="sectionTitle">
  57. <h1>{{ 'challenge.suggestionphoto'|trans }}</h1>
  58. </div>
  59. <div id="picture">
  60. <table>
  61. <tr>
  62. <th>
  63. {{ form_label(formChallenge.imagename) }}
  64. </th>
  65. <td>
  66. {{ form_errors(formChallenge.imagename) }}
  67. {{ form_widget(formChallenge.imagename) }}
  68. </td>
  69. </tr>
  70. <tr>
  71. <th>
  72. {{ form_label(formChallenge.place) }}
  73. </th>
  74. <td>
  75. {{ form_errors(formChallenge.place) }}
  76. {{ form_widget(formChallenge.place) }}
  77. </td>
  78. </tr>
  79. <tr>
  80. <th>
  81. {{ form_label(formChallenge.url) }}
  82. </th>
  83. <td>
  84. {{ form_errors(formChallenge.url) }}
  85. {{ form_widget(formChallenge.url) }}
  86. </td>
  87. </tr>
  88. </table>
  89. </div>
  90. {{ form_rest(formChallenge) }}
  91. </br>
  92. <input submitButtton type="submit" class="submitChallenge" value="{{ 'challenge.form.valider' | trans }}"/>
  93. </form>
  94.  
  95. </div>
  96. </div>
  97.  
  98. {% endblock %}
  99.  
  100.  
  101. {% block script %}
  102.  
  103. {% endblock %}
Add Comment
Please, Sign In to add comment