diff --git a/templates/forms/_tnypng_create_newDir.html.twig b/templates/forms/_tnypng_create_newDir.html.twig index 910beee..31fa18e 100644 --- a/templates/forms/_tnypng_create_newDir.html.twig +++ b/templates/forms/_tnypng_create_newDir.html.twig @@ -1,5 +1,14 @@

Create a New Directory Here:

+ {% if directory == 'index' %} + {% set currentDir = 'files' %} + {% else %} + {% set currentDir = directory %} + {% endif %} + +

+ This will create a new 'sub' directory in {{ currentDir }} +