Explorar el Código

fix request args input for home update api

weichen hace 4 años
padre
commit
d74a662ae5
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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>