orbit-4-2/app/views/desktop_widgets/edit.html.erb

16 lines
231 B
Plaintext
Raw Normal View History

<div>
<%= @dw.name %>
<h4>Upload Widget image </h4>
<div class="main2">
<%= form_for @dw, :url => desktop_widget_path(@dw) do |f| %>
<p>
<%= f.file_field :image %>
</p>
<%= submit_tag %>
<% end %>
</div>
</div>