app/template/unishop/Entry/school_certification.twig line 1

Open in your IDE?
  1. {#
  2. This file is part of EC-CUBE
  3. Copyright(c) 2000-2015 LOCKON CO.,LTD. All Rights Reserved.
  4. http://www.lockon.co.jp/
  5. This program is free software; you can redistribute it and/or
  6. modify it under the terms of the GNU General Public License
  7. as published by the Free Software Foundation; either version 2
  8. of the License, or (at your option) any later version.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with this program; if not, write to the Free Software
  15. Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  16. #}
  17. {% extends 'default_frame.twig' %}
  18. {% set body_class = 'registration_page' %}
  19. {% block javascript %}
  20. {% endblock javascript %}
  21. {% block stylesheet %}
  22. <style>
  23. .input_School select{
  24.     width: 48% !important;
  25. }
  26. </style>
  27. {% endblock stylesheet %}
  28. {% block main %}
  29. <h1 class="title_bar nikke">学校情報認証</h1>
  30. <div id="top_wrap" class="container-fluid">
  31.     <div id="top_box" class="row">
  32.         <div id="top_box__body" class="col-md-10 col-md-offset-1">
  33.         {% if school_not_found %}
  34.             <p>※ 学校コードに該当していないので、ご確認お願い致します。</p>
  35.         {% else %}
  36.             <form method="post" action="{{ url('entry', { gcd : gcd }) }}">
  37.                    {{ form_widget(form._token) }}
  38.                 <div id="top_box__body_inner" class="dl_table">
  39.                     {% if School is null %}
  40.                         <dl id="top_box__School">
  41.                             <dt>{{ form_label(form.School) }}</dt>
  42.                             <dd class="form-group input_School">
  43.                                 {{ form_widget(form.School) }}
  44.                                 {{ form_errors(form.School) }}
  45.                             </dd>
  46.                         </dl>
  47.                     {% else %}
  48.                         <dl id="top_box__kana">
  49.                             <dt></dt>
  50.                             <dd class="form-group input_name">
  51.                                 {{ School.school_name }}
  52.                             </dd>
  53.                         </dl>
  54.                     {% endif %}
  55.                     <dl id="top_box__name">
  56.                         <dt></dt>
  57.                         <dd class="form-group input_name">
  58.                             {{ form_widget(form.school_key) }}
  59.                             {{ form_errors(form.school_key) }}
  60.                             {% if certification_error_flg == 1 %}
  61.                             <span>※認証に失敗しました。</span>
  62.                             {% endif %}
  63.                         </dd>
  64.                     </dl>
  65.                     <input id="top_box__hidden_mode" type="hidden" name="mode" value="certify">
  66.                 </div>
  67.                 <div id="top_box__footer" class="row no-padding">
  68.                     <div id="top_box__button_menu" class="btn_group col-sm-offset-4 col-sm-4">
  69.                         <p>
  70.                             <button type="submit" class="btn btn-primary btn-block def_btn ya radius1">生徒情報の登録へ</button>
  71.                         </p>
  72.                     </div>
  73.                 </div>
  74.             </form>
  75.         {% endif %}
  76.         </div>
  77.         <!-- /.col -->
  78.     </div>
  79.     <!-- /.row -->
  80. </div>
  81. {% endblock %}