Browse Source

fix form action action

main
ghost 1 year ago
parent
commit
d4fbb4b592
  1. 2
      templates/default/search/torrent.html.twig

2
templates/default/search/torrent.html.twig

@ -122,7 +122,7 @@
<div class="text-color-night margin-y-16-px"> <div class="text-color-night margin-y-16-px">
{{ '* share new torrent file to change it' | trans }} {{ '* share new torrent file to change it' | trans }}
</div> </div>
<form name="submit" method="get" action="{{ path('article_submit') }}"> <form name="submit" method="get" action="{{ path('torrent_submit') }}">
<button class="button-green margin-y-8-px" type="submit"> <button class="button-green margin-y-8-px" type="submit">
<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" fill="currentColor" viewBox="0 0 16 16"> <svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" fill="currentColor" viewBox="0 0 16 16">
<path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM8.5 4.5a.5.5 0 0 0-1 0v3h-3a.5.5 0 0 0 0 1h3v3a.5.5 0 0 0 1 0v-3h3a.5.5 0 0 0 0-1h-3v-3z"/> <path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM8.5 4.5a.5.5 0 0 0-1 0v3h-3a.5.5 0 0 0 0 1h3v3a.5.5 0 0 0 1 0v-3h3a.5.5 0 0 0 0-1h-3v-3z"/>

Loading…
Cancel
Save