Procházet zdrojové kódy

fix request args input for home update api

weichen před 4 roky
rodič
revize
d74a662ae5
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      backstage/templates/home.html

+ 1 - 1
backstage/templates/home.html

@@ -2,7 +2,7 @@
 {% block main %}
 <h1>{{ title }}</h1>
 {% for content in contents %}
-  <form action="{{ url_for('home.update', section_class=content.sectionClass) }}" method="POST">
+  <form action="{{ url_for('home.update', page='home', section_class=content.sectionClass) }}" method="POST">
   <table id="example" class="table table-striped table-bordered" cellspacing="0" width="60%">
     <thead>
       <tr>