photomix/app/views/photos/_form.html.erb
2009-06-16 21:43:03 +02:00

11 lines
409 B
Plaintext

<% content_for :javascript do %>
<script src="/javascripts/tag/tag.js" type="text/javascript" charset="utf-8"></script>
<% end %>
<%= hidden_field_tag :all_tags, @tags %>
<%= form.label :title %><br />
<%= form.text_field :title %><br />
<br />
<%= form.label :tag_list %><br />
<%= form.text_field :tag_list, { :autocomplete => "off", :class => 'tag_list'} %><br />
<br/>
<p>On disk: ~/<%= @photo.path %></p>