| 
					
				 | 
			
			
				@@ -2,7 +2,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 {% block main %} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <h1>{{ title }}</h1> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 {% for content in contents %} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  <form action="{{ url_for('room_planner.update', page=page, section_class=content.sectionClass) }}" method="POST"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <form action="{{ url_for(form_url, page=page, section_class=content.sectionClass) }}" method="POST" enctype="multipart/form-data"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <table id="example" class="table table-striped table-bordered" cellspacing="0" width="60%"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <thead> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <tr> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -20,10 +20,18 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <tbody> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <tr> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               <td>{{ loop.index }}</td> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              <td>{{ key }}</td> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              {% if key == "img" %} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <td><img src="http://127.0.0.1:1313/{{ data['src'] }}" width="80px" height="50px"></td> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <td> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  <input id="image" name="image-{{ loop.index }}" type="file" value="{{ data['src'] }}"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  <input name="{{ key }}-{{ loop.index }}" type="hidden" value="{{ data }}"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                </td> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              {% else %} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              <td>文字</td> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               <td> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 <input name="{{ key }}-{{ loop.index }}" class="form-control form-control-lg" value="{{ data }}"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               </td> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              {% endif %} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               <td> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 <div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                   <form action="#" method="POST"> 
			 |