diff --git a/src/Skobkin/Bundle/CopyPasteBundle/Resources/views/Form/fields.html.twig b/app/Resources/views/Form/fields.html.twig similarity index 100% rename from src/Skobkin/Bundle/CopyPasteBundle/Resources/views/Form/fields.html.twig rename to app/Resources/views/Form/fields.html.twig diff --git a/src/Skobkin/Bundle/CopyPasteBundle/Resources/views/Form/form_paste_create.html.twig b/app/Resources/views/Form/form_paste_create.html.twig similarity index 100% rename from src/Skobkin/Bundle/CopyPasteBundle/Resources/views/Form/form_paste_create.html.twig rename to app/Resources/views/Form/form_paste_create.html.twig diff --git a/app/Resources/views/Paste/new.html.twig b/app/Resources/views/Paste/new.html.twig new file mode 100644 index 0000000..d9e1999 --- /dev/null +++ b/app/Resources/views/Paste/new.html.twig @@ -0,0 +1,6 @@ +{% extends 'base.html.twig' %} + +{% block content %} + {# This form recieves form_create object from current context #} + {% include 'Form/form_paste_create.html.twig' %} +{% endblock %} diff --git a/src/Skobkin/Bundle/CopyPasteBundle/Resources/views/Copypaste/show.html.twig b/app/Resources/views/Paste/show.html.twig similarity index 96% rename from src/Skobkin/Bundle/CopyPasteBundle/Resources/views/Copypaste/show.html.twig rename to app/Resources/views/Paste/show.html.twig index dff9048..41c03f0 100644 --- a/src/Skobkin/Bundle/CopyPasteBundle/Resources/views/Copypaste/show.html.twig +++ b/app/Resources/views/Paste/show.html.twig @@ -1,4 +1,4 @@ -{% extends '::base.html.twig' %} +{% extends 'base.html.twig' %} {% block content %}
@@ -66,7 +66,7 @@
{# This form recieves form_create object from current context #} - {% include 'SkobkinCopyPasteBundle:Form:form_paste_create.html.twig' %} + {% include 'Form/form_paste_create.html.twig' %}
diff --git a/app/Resources/views/base.html.twig b/app/Resources/views/base.html.twig index 2116932..2a70c27 100644 --- a/app/Resources/views/base.html.twig +++ b/app/Resources/views/base.html.twig @@ -1,4 +1,4 @@ -{% extends '::layout.html.twig' -%} +{% extends 'layout.html.twig' -%} {%- block css -%} {{- parent() -}} @@ -20,7 +20,7 @@ - {{ 'header_title' | trans }} + {{ 'header_title' | trans }} @@ -28,7 +28,7 @@