AutoCommit Sam Aug 1 14:03:01 CEST 2015

This commit is contained in:
Andreas Stephanides
2015-08-01 14:03:01 +02:00
parent fb99d55734
commit cc764f68af
11 changed files with 183 additions and 9 deletions

View File

@@ -5,9 +5,7 @@
<%= f.input :icon, :input_html=>{:id=>"iconfield"},:as=>:hidden %>
<label>Bild</label>
<%= image_tag(@choice.picture.thumb.url) unless @choice.picture.nil? %>
<%= f.file_field :picture %>
<%= f.input :picture, as: :uploader %>
<%= f.hidden_field :picture_cache %>
<% end %>