2 {% extends 'base.html' %}
4 {% block title %}{{ object.title }} w WolneLektury.pl{% endblock %}
7 <h1>{{ object.title }}</h1>
8 <form action="{% url search %}" method="GET" accept-charset="utf-8" id="search-form">
9 <p>{{ form.q }} <input type="submit" value="{% trans "Szukaj" %}" /> <strong>{% trans "or" %}</strong> <a href="{% url lessons_document_list %}">{% trans "return to list of materials" %}</a></p>
12 <div id="document-detail">
13 <p class="download"><a href="{{ object.file.url }}">{% trans "Download" %}</a> {% if object.author %}({% trans "author" %}: {{ object.author }}){% endif %}</p>
14 {% if object.slideshare_id %}
15 <object style="margin:0px" width="480" height="400">
16 <param name="movie" value="http://static.slidesharecdn.com/swf/{{ object.slideshare_player }}?doc={{ object.slideshare_id }}&rel=0&stripped_title={{ object.name|slugify }}" /><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><embed src="http://static.slidesharecdn.com/swf/{{ object.slideshare_player }}?doc={{ object.slideshare_id }}&rel=0&stripped_title={{ object.name|slugify }}" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="400"></embed></object>
18 {% if object.description %}
19 <p>{{ object.description|urlize|linebreaks }}</p>