From cae5b4accca2f880bbd4a5ffae265f78c689075c Mon Sep 17 00:00:00 2001 From: hukl Date: Tue, 1 Sep 2009 23:13:45 +0200 Subject: Added javascript goodness to add and sort and drag and drop images on pages --- app/views/nodes/edit.html.erb | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) (limited to 'app/views/nodes/edit.html.erb') diff --git a/app/views/nodes/edit.html.erb b/app/views/nodes/edit.html.erb index 00815b7..a8138c2 100644 --- a/app/views/nodes/edit.html.erb +++ b/app/views/nodes/edit.html.erb @@ -36,10 +36,15 @@ Images - - <% @draft.assets.images.each do |image| %> - <%= image_tag(image.upload.url(:thumb)) %> - <% end %> + + + add image @@ -69,4 +74,14 @@ <% end %> <% end %> + + + + +
+
\ No newline at end of file -- cgit v1.3