<%= f.form_group :title, class: "span8", style: 'margin-left: 0px;' do %>
<%= f.text_field :title, label: (t 'blog.title'), class: 'input-block-level', required: true %>
<%= f.text_area :description, label: (t 'blog.description'), class: 'input-block-level', required: false, rows: 4 %>
<% end %>
<%= image_tag @upload.file.to_s if @upload.file? %>
<%= f.file_field :file, class: 'hidden', label: (t 'blog.select_image') %>
<%= f.form_group :description, class: "span8", style: 'margin-left: 0px; margin-top: -130px;' do %>
<% end %>