From c15b66569091bc9fe6adc9b6f446dae2e85fee16 Mon Sep 17 00:00:00 2001 From: hukl Date: Tue, 1 Sep 2009 14:47:09 +0200 Subject: slight interface changes --- app/views/nodes/edit.html.erb | 58 +++++++++++++++++++++++++------------------ 1 file changed, 34 insertions(+), 24 deletions(-) (limited to 'app') diff --git a/app/views/nodes/edit.html.erb b/app/views/nodes/edit.html.erb index 5973a6c..00815b7 100644 --- a/app/views/nodes/edit.html.erb +++ b/app/views/nodes/edit.html.erb @@ -10,30 +10,40 @@ <% form_for(@node) do |f| %> <%= f.error_messages %> - - - - - - - - - - - <% fields_for @draft do |d| %> - - - - - - - - - - - - -
Event<%= event_information %>
Slug<%= f.text_field :slug %>
Tags - comma seperated<%= text_field_tag :tag_list, @draft.tag_list %>
Publish at<%= d.datetime_select :published_at %>
Template<%= d.select :template_name, custom_page_templates, {:prompt => 'Select Template'} %>
+
+ + + + + + + + + + + <% fields_for @draft do |d| %> + + + + + + + + + + + + + + + + +
Event<%= event_information %>
Slug<%= f.text_field :slug %>
Tags - comma seperated<%= text_field_tag :tag_list, @draft.tag_list %>
Publish at<%= d.datetime_select :published_at %>
Template<%= d.select :template_name, custom_page_templates, {:prompt => 'Select Template'} %>
Images + <% @draft.assets.images.each do |image| %> + <%= image_tag(image.upload.url(:thumb)) %> + <% end %> +
+
-- cgit v1.3