photomix/app/views/photos/_form.html.erb

11 lines
463 B
Plaintext
Raw Normal View History

2009-05-25 21:39:43 +02:00
<% content_for :javascript do %>
<script src="/javascripts/tag/tag.js" type="text/javascript" charset="utf-8"></script>
<% end %>
<%= hidden_field_tag :all_tags, "'#{Tag.find(:all).map { |tag| tag.title }.join('\',\'')}'" %>
<%= form.label :title %><br />
<%= form.text_field :title %><br />
<br />
<%= form.label :tag_list %><br />
2009-06-03 21:30:09 +02:00
<%= form.text_field :tag_list, { :autocomplete => "off", :class => 'tag_list'} %><br />
2009-05-25 21:39:43 +02:00
<br/>
<p>On disk: ~/<%= @photo.path %></p>