Browse Source

Show bike photo in a task list

master
Ilya Konanykhin 8 years ago
parent
commit
6794fc899c
  1. 4
      app/views/task_lists/edit.haml

4
app/views/task_lists/edit.haml

@ -8,6 +8,10 @@
%h4= @task_list.item.model %h4= @task_list.item.model
- if @task_list.item.photo?
%p
%img{src: @task_list.item.photo.url(:thumb), class: 'img-thumbnail'}
%fieldset %fieldset
.form-group .form-group
- @task_list.tasks.each do |task| - @task_list.tasks.each do |task|

Loading…
Cancel
Save