mirror of
				https://github.com/fspc/BikeShed-1.git
				synced 2025-10-31 08:55:36 -04:00 
			
		
		
		
	Show bike photo in a task list
This commit is contained in:
		
							parent
							
								
									5f7eb43f63
								
							
						
					
					
						commit
						6794fc899c
					
				| @ -8,6 +8,10 @@ | ||||
| 
 | ||||
| %h4= @task_list.item.model | ||||
| 
 | ||||
| - if @task_list.item.photo? | ||||
|   %p | ||||
|     %img{src: @task_list.item.photo.url(:thumb),  class: 'img-thumbnail'} | ||||
| 
 | ||||
| %fieldset | ||||
|   .form-group | ||||
|     - @task_list.tasks.each do |task| | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user