src/Company/BaseBundle/Resources/views/Index/add_document.html.twig
changeset 10 6e8bd1081c8a
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/Company/BaseBundle/Resources/views/Index/add_document.html.twig	Mon Oct 17 18:42:56 2011 +0200
@@ -0,0 +1,15 @@
+{# example of other page extending the company base template #}
+{% extends 'CompanyBaseBundle:Index:index.html.twig' %}
+
+{% block content %}
+	<div id="content" class="span-24 last">
+	    <div id="inner_content">
+	       <form action="{{ path('add_document') }}" method="post" {{ form_enctype(form) }}>
+                {{ form_widget(form) }}
+                <input type="submit" />
+            </form>
+	    </div>
+	    {% render "CompanyBaseBundle:Index:allDocumentsPartial" with {'param': 'mon super param'} %}
+	    {# render "SensioDistributionBundle:Configurator:step" #}
+	</div>
+{% endblock %}
\ No newline at end of file