From cf1b60e0cfa7d1a8f4a80d686649cc12e73a634e Mon Sep 17 00:00:00 2001 From: hukl Date: Fri, 24 Apr 2009 11:43:08 +0200 Subject: Integrated basic Asset upload functionality. You can upload files now and use their url in pages. --- app/views/assets/edit.html.erb | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 app/views/assets/edit.html.erb (limited to 'app/views/assets/edit.html.erb') diff --git a/app/views/assets/edit.html.erb b/app/views/assets/edit.html.erb new file mode 100644 index 0000000..d60db94 --- /dev/null +++ b/app/views/assets/edit.html.erb @@ -0,0 +1,12 @@ +

Editing asset

+ +<% form_for(@asset) do |f| %> + <%= f.error_messages %> + +

+ <%= f.submit 'Update' %> +

+<% end %> + +<%= link_to 'Show', @asset %> | +<%= link_to 'Back', assets_path %> \ No newline at end of file -- cgit v1.3