Bladeren bron

fix request args input for home update api

weichen 4 jaren geleden
bovenliggende
commit
d74a662ae5
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  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>