Browse Source

Force form target, fixes #243

Jordi Boggiano 13 years ago
parent
commit
db684dbe98

+ 1 - 1
src/Packagist/WebBundle/Resources/views/Web/submitPackage.html.twig

@@ -8,7 +8,7 @@
     <div class="box clearfix">
     <div class="box clearfix">
         <h1>Submit package</h1>
         <h1>Submit package</h1>
         <p>Please make sure you have read the package <a href="{{ path('about') }}">naming conventions</a> before submitting your package. The authoritative name of your package will be taken from the composer.json file inside the master branch or trunk of your repository, and it can not be changed after that.</p>
         <p>Please make sure you have read the package <a href="{{ path('about') }}">naming conventions</a> before submitting your package. The authoritative name of your package will be taken from the composer.json file inside the master branch or trunk of your repository, and it can not be changed after that.</p>
-        <form id="submit-package-form" action="" data-check-url="{{ path('submit.fetch_info') }}" method="POST" {{ form_enctype(form) }}>
+        <form id="submit-package-form" action="{{ path('submit') }}" data-check-url="{{ path('submit.fetch_info') }}" method="POST" {{ form_enctype(form) }}>
             <div>
             <div>
                 <p>
                 <p>
                     {{ form_label(form.repository, "Repository URL (Git/Svn/Hg)") }}
                     {{ form_label(form.repository, "Repository URL (Git/Svn/Hg)") }}