diff --git a/app/views/admin/galleries/_form.html.erb b/app/views/admin/galleries/_form.html.erb index 0f212b8..1c2e502 100644 --- a/app/views/admin/galleries/_form.html.erb +++ b/app/views/admin/galleries/_form.html.erb @@ -15,13 +15,13 @@
- + @@ -33,9 +33,9 @@
- +
- <%= f.select(:category_id, @categories.collect {|p| [ p.title, p.id ] }) %> + <%= select_category(f, @module_app) %>
@@ -45,21 +45,14 @@
- -
- <%@tags.each do |tag|%> - - <%end %> -
+ + <%= select_tag(f, @module_app) %>
- +