소스 검색

fix request args input for home update api

weichen 4 년 전
부모
커밋
d74a662ae5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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>