Add test seminar template

This commit is contained in:
Tomas Gavenciak 2015-03-14 22:52:45 +01:00
parent add219ccf8
commit 3b7b236d33
2 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,20 @@
{% extends "base.html" %}
{% load cms_tags staticfiles sekizai_tags menu_tags %}
{% block content %}
<div>
<h2>Problém {{ problem.nazev }}</h2>
<h3>Text</h3>
{% render_placeholder problem.text_problemu %}
{% if True %}
<div class='mam-org-only'>
<h3>Text - org</h3>
{% render_placeholder problem.text_problemu_org %}
</div>
{% endif %}
</div>
{% endblock content %}

6
seminar/urls.py Normal file
View file

@ -0,0 +1,6 @@
from django.conf.urls import patterns, url
from . import views
urlpatterns = patterns('',
url(r'^problem/(?P<pk>\d+)/$', views.ProblemView.as_view(), name='problem'),
)