From a035e70db6c4cde1d17f0bc0d58aa04f33e7b546 Mon Sep 17 00:00:00 2001 From: Skud Date: Fri, 19 Jul 2013 00:05:20 +1000 Subject: [PATCH] show the name of the selected set --- app/views/photos/new.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/photos/new.html.haml b/app/views/photos/new.html.haml index dd9c899c0..e8db3d66b 100644 --- a/app/views/photos/new.html.haml +++ b/app/views/photos/new.html.haml @@ -14,7 +14,7 @@ %p = form_tag(new_photo_path, :method => :get, :class => 'form-inline') do = label_tag :set, "Choose a photo set:", :class => 'control-label' - = select_tag :set, options_for_select(@sets), :class => 'input-large' + = select_tag :set, options_for_select(@sets, @current_set), :class => 'input-large' = submit_tag "Search", :class => 'btn btn-primary' %div.pagination