solved desktop conflict during cherry pick

This commit is contained in:
harrybomrah authored and saurabhbhatia committed 2013-07-30 16:42:26 +08:00
1 parent 874819266d
commit 2d616ab7a8
9 files changed
+198 -36

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
<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>
+10
View File
@@ -0,0 +1,10 @@
<div>
<ul>
<% @desktopWidgets.each do |dw| %>
<li> <%= dw.name %>
<%= link_to "Delete", desktop_widget_path(dw), :method=>"delete" %>
<%= link_to "Edit", edit_desktop_widget_path(dw) %>
</li>
<% end %>
</ul>
</div>