feat: Add Lawn Care Tips section and improve Dashboard layout
This commit is contained in:
		
							parent
							
								
									1f50fedb80
								
							
						
					
					
						commit
						985c944e16
					
				
					 17 changed files with 689 additions and 18 deletions
				
			
		
							
								
								
									
										39
									
								
								Views/LawnCareTip/Delete.cshtml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										39
									
								
								Views/LawnCareTip/Delete.cshtml
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,39 @@ | |||
| @model turf_tasker.Models.LawnCareTip | ||||
| 
 | ||||
| @{ | ||||
|     ViewData["Title"] = "Delete"; | ||||
| } | ||||
| 
 | ||||
| <h1>Delete</h1> | ||||
| 
 | ||||
| <h3>Are you sure you want to delete this?</h3> | ||||
| <div> | ||||
|     <h4>LawnCareTip</h4> | ||||
|     <hr /> | ||||
|     <dl class="row"> | ||||
|         <dt class = "col-sm-2"> | ||||
|             @Html.DisplayNameFor(model => model.Title) | ||||
|         </dt> | ||||
|         <dd class = "col-sm-10"> | ||||
|             @Html.DisplayFor(model => model.Title) | ||||
|         </dd> | ||||
|         <dt class = "col-sm-2"> | ||||
|             @Html.DisplayNameFor(model => model.Category) | ||||
|         </dt> | ||||
|         <dd class = "col-sm-10"> | ||||
|             @Html.DisplayFor(model => model.Category) | ||||
|         </dd> | ||||
|         <dt class = "col-sm-2"> | ||||
|             @Html.DisplayNameFor(model => model.Content) | ||||
|         </dt> | ||||
|         <dd class = "col-sm-10"> | ||||
|             @Html.DisplayFor(model => model.Content) | ||||
|         </dd> | ||||
|     </dl> | ||||
|      | ||||
|     <form asp-action="Delete"> | ||||
|         <input type="hidden" asp-for="Id" /> | ||||
|         <input type="submit" value="Delete" class="btn btn-danger" /> | | ||||
|         <a asp-action="Index">Back to List</a> | ||||
|     </form> | ||||
| </div> | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Blake Ridgway
						Blake Ridgway