edit.tpl 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. {{javascript}}
  2. {% for message in messages %}
  3. {{ message }}
  4. {% endfor %}
  5. {% if is_allowed_to_edit %}
  6. <div class="btn-toolbar actions-bar" >
  7. <div class="btn-group">
  8. <a href="{{root}}&amp;action=listing" class="btn btn-default" title="{{'ImportCSV'|get_lang}}">
  9. <em class="size-32 icon-back"></em>
  10. </a>
  11. </div>
  12. <div class="btn-group edit new">
  13. {% for type in types %}
  14. <a href="{{root}}&amp;action=add&amp;description_type={{type.id}}" class="btn btn-default">
  15. <img title="{{type.title}}" alt="{{type.title}}" src="{{type.icon|icon(32)}} " width="32" height="32">
  16. </a>
  17. {% endfor %}
  18. </div>
  19. </div>
  20. {% endif %}
  21. {% if type.question %}
  22. <div class="normal-message">
  23. <div>
  24. <strong>{{'QuestionPlan'|get_lang}}</strong>
  25. </div>
  26. {{type.question}}
  27. </div>
  28. {% endif %}
  29. {{form.return_form()}}