| 
									
										
										
										
											2018-12-27 15:47:06 -07:00
										 |  |  | <form action="{{resourcePath}}give" method="post" enctype="multipart/form-data"> | 
					
						
							| 
									
										
										
										
											2018-12-27 16:13:48 -07:00
										 |  |  |   <div class="field"> | 
					
						
							|  |  |  |     <div class="file is-boxed has-name"> | 
					
						
							|  |  |  |       <label class="file-label"> | 
					
						
							|  |  |  |         <input class="file-input" type="file" name="book" id="book" accept="{{allowedFormats}}"> | 
					
						
							|  |  |  |         <span class="file-cta"> | 
					
						
							|  |  |  |           <span class="file-icon"> | 
					
						
							|  |  |  |             <i class="fas fa-upload"></i> | 
					
						
							|  |  |  |           </span> | 
					
						
							|  |  |  |           <span class="file-label has-text-centered"> | 
					
						
							|  |  |  |             Choose a Book File <code>{{allowedFormats}}</code> ({{maxFileSize}} maximum size) | 
					
						
							|  |  |  |           </span> | 
					
						
							|  |  |  |         </span> | 
					
						
							|  |  |  |         <span class="file-name has-text-centered" id="bookFileName"> | 
					
						
							|  |  |  |           None Selected | 
					
						
							|  |  |  |         </span> | 
					
						
							|  |  |  |       </label> | 
					
						
							|  |  |  |     </div> | 
					
						
							|  |  |  |   </div> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-12-26 16:36:35 -07:00
										 |  |  |   <div class="field"> | 
					
						
							| 
									
										
										
										
											2018-12-27 10:55:59 -07:00
										 |  |  |     <label class="label" for="title">Book Title:</label> | 
					
						
							|  |  |  |     <div class="control"> | 
					
						
							| 
									
										
										
										
											2018-12-27 16:13:48 -07:00
										 |  |  |       <input type="text" class="input" name="title" id="title" value="{{title}}"> | 
					
						
							| 
									
										
										
										
											2018-12-27 10:55:59 -07:00
										 |  |  |     </div> | 
					
						
							| 
									
										
										
										
											2018-12-26 16:36:35 -07:00
										 |  |  |   </div> | 
					
						
							|  |  |  |   <div class="field"> | 
					
						
							| 
									
										
										
										
											2018-12-27 10:55:59 -07:00
										 |  |  |     <label class="label" for="author"><span class="is-italic has-text-weight-normal has-text-grey">(Optional)</span> Book Author:</label> | 
					
						
							|  |  |  |     <div class="control"> | 
					
						
							| 
									
										
										
										
											2018-12-27 16:13:48 -07:00
										 |  |  |       <input type="text" class="input" name="author" id="author" value="{{author}}"> | 
					
						
							| 
									
										
										
										
											2018-12-27 10:55:59 -07:00
										 |  |  |     </div> | 
					
						
							| 
									
										
										
										
											2018-12-26 16:36:35 -07:00
										 |  |  |   </div> | 
					
						
							|  |  |  |   <div class="field"> | 
					
						
							| 
									
										
										
										
											2018-12-27 10:55:59 -07:00
										 |  |  |     <label class="label" for="summary">Why you're sharing it:</label> | 
					
						
							|  |  |  |     <div class="control"> | 
					
						
							|  |  |  |       <div class="help">Markdown Enabled</div> | 
					
						
							| 
									
										
										
										
											2018-12-27 16:13:48 -07:00
										 |  |  |       <textarea class="textarea" name="summary" id="summary">{{summary}}</textarea> | 
					
						
							| 
									
										
										
										
											2018-12-27 10:55:59 -07:00
										 |  |  |     </div> | 
					
						
							|  |  |  |   </div> | 
					
						
							|  |  |  |   <div class="field"> | 
					
						
							|  |  |  |     <label class="label" for="contributor"><span class="is-italic has-text-weight-normal has-text-grey">(Optional)</span> Your name:</label> | 
					
						
							|  |  |  |     <div class="control"> | 
					
						
							| 
									
										
										
										
											2018-12-27 16:13:48 -07:00
										 |  |  |       <input type="text" class="input" name="contributor" id="contributor" value="{{contributor}}"> | 
					
						
							| 
									
										
										
										
											2018-12-26 15:03:21 -07:00
										 |  |  |     </div> | 
					
						
							| 
									
										
										
										
											2018-12-26 16:36:35 -07:00
										 |  |  |   </div> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   <div class="field"> | 
					
						
							| 
									
										
										
										
											2018-12-26 15:03:21 -07:00
										 |  |  |     <input class="button" type="submit" value="Give Book" name="submit"> | 
					
						
							| 
									
										
										
										
											2018-12-26 16:36:35 -07:00
										 |  |  |   </div> | 
					
						
							|  |  |  | </form> |