mirror of
				https://github.com/yanislav-igonin/micrach
				synced 2025-11-04 10:27:02 +03:00 
			
		
		
		
	feat: add sage checkbox and send button in form
This commit is contained in:
		
							parent
							
								
									1a784118e9
								
							
						
					
					
						commit
						4123a4a04a
					
				@ -69,6 +69,27 @@
 | 
				
			|||||||
      <input class="form-control" id="postTitle" placeholder="Title" name="title">
 | 
					      <input class="form-control" id="postTitle" placeholder="Title" name="title">
 | 
				
			||||||
      <textarea class="form-control" id="postText" rows="5" placeholder="Text" name="text"></textarea>
 | 
					      <textarea class="form-control" id="postText" rows="5" placeholder="Text" name="text"></textarea>
 | 
				
			||||||
      <input class="form-control" type="file" id="postFiles" multiple name="files">
 | 
					      <input class="form-control" type="file" id="postFiles" multiple name="files">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      <div class="row">
 | 
				
			||||||
 | 
					        {{ if ne . nil }}
 | 
				
			||||||
 | 
					        <div class="col">
 | 
				
			||||||
 | 
					          <input class="form-check-input" type="checkbox" value="" id="postSage" name="sage">
 | 
				
			||||||
 | 
					          <label class="form-check-label" for="postSage">
 | 
				
			||||||
 | 
					            Sage
 | 
				
			||||||
 | 
					          </label>
 | 
				
			||||||
 | 
					        </div>
 | 
				
			||||||
 | 
					        {{ end }}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        <div class="col text-end">
 | 
				
			||||||
 | 
					          <button class="col btn btn-outline-primary" type="submit" >
 | 
				
			||||||
 | 
					            {{ if ne . nil }}
 | 
				
			||||||
 | 
					            Send
 | 
				
			||||||
 | 
					            {{ else }}
 | 
				
			||||||
 | 
					            Create thread
 | 
				
			||||||
 | 
					            {{ end }}
 | 
				
			||||||
 | 
					          </button>
 | 
				
			||||||
 | 
					        </div>
 | 
				
			||||||
 | 
					      </div>
 | 
				
			||||||
    </form>
 | 
					    </form>
 | 
				
			||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
{{ end }}
 | 
					{{ end }}
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user