Explorar o código

fix request args input for home update api

weichen %!s(int64=4) %!d(string=hai) anos
pai
achega
d74a662ae5
Modificáronse 1 ficheiros con 1 adicións e 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>