<% content_for :javascript do %> <% end %> <%= hidden_field_tag :all_tags, "'#{Tag.find(:all).map { |tag| tag.title }.join('\',\'')}'" %> <%= form.label :title, :Title, {:class => 'big'} %>
<%= form.text_field :title, {:class => 'big'} %>
<%= form.label :description %>
<%= form.text_area :description %>
<%= form.label :address %>
<%= form.text_area :address, { :rows => 3} %>
<%= form.label :note %>
<%= form.text_area :note %>
<%= form.label :tag_list %>
<%= form.text_field :tag_list, { :autocomplete => "off", :class => 'tag_list'} %>

<% if @album.path? %> Location on disk: <%= APP_CONFIG[:photos_path] + @album.path %>
Contains: <%= @album.photos.count %> photos
<% end %>