Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {% extends "ApplicationChallengerzBundle::layout.html.twig" %}
- {% block title %}
- {{ 'challenge.titre.jepublie' | trans }}
- {% endblock %}
- {% block head %}
- <style type="text/css">@import url("{{ asset('/bundles/applicationchallengerz/css/style_challenge.css') }}");</style>
- <style type="text/css">@import url("{{ asset('/bundles/applicationchallengerz/css/autocomplete.css') }}");</style>
- <script type="text/javascript" src="{{ asset('/bundles/applicationchallengerz/js/challenge.js') }}"></script>
- {% endblock %}
- {% block content %}
- <div class="div_creationChallenge">
- <div class="sectionTitle" id="sectionTitleChallenge">
- <h1>{{ 'challenge.suggestiontonchallenge'|trans }}</h1>
- </div>
- <div class="challengeCreation">
- <form action="{{ path('challenge_create') }}" method="post" {{ form_enctype(formChallenge) }}>
- {{ form_errors(formChallenge) }}
- <div id="challenge">
- <table>
- <tr>
- <th>
- {{ form_label(formChallenge.title) }}
- </th>
- <td>
- {{ form_errors(formChallenge.title) }}
- {{ form_widget(formChallenge.title) }}
- <div id="search_suggest"></div>
- </td>
- </tr>
- <tr>
- <th>
- {{ form_label(formChallenge.category) }}
- </th>
- <td>
- {{ form_errors(formChallenge.category) }}
- {{ form_widget(formChallenge.category) }}
- </td>
- </tr>
- <tr>
- <th>
- {{ form_label(formChallenge.pseudo) }}
- </th>
- <td>
- {{ form_errors(formChallenge.pseudo) }}
- {{ form_widget(formChallenge.pseudo) }}
- </td>
- </tr>
- </table>
- </div>
- <div class="sectionTitle">
- <h1>{{ 'challenge.suggestionphoto'|trans }}</h1>
- </div>
- <div id="picture">
- <table>
- <tr>
- <th>
- {{ form_label(formChallenge.imagename) }}
- </th>
- <td>
- {{ form_errors(formChallenge.imagename) }}
- {{ form_widget(formChallenge.imagename) }}
- </td>
- </tr>
- <tr>
- <th>
- {{ form_label(formChallenge.place) }}
- </th>
- <td>
- {{ form_errors(formChallenge.place) }}
- {{ form_widget(formChallenge.place) }}
- </td>
- </tr>
- <tr>
- <th>
- {{ form_label(formChallenge.url) }}
- </th>
- <td>
- {{ form_errors(formChallenge.url) }}
- {{ form_widget(formChallenge.url) }}
- </td>
- </tr>
- </table>
- </div>
- {{ form_rest(formChallenge) }}
- </br>
- <input submitButtton type="submit" class="submitChallenge" value="{{ 'challenge.form.valider' | trans }}"/>
- </form>
- </div>
- </div>
- {% endblock %}
- {% block script %}
- {% endblock %}
Add Comment
Please, Sign In to add comment