% content_for :head do -%>
Praise DATABASE
<%= javascript_include_tag "prototype" %>
<%= javascript_include_tag "roman" %>
<% end -%>
歌詞の編集 (edit this song)
<% form_for @song, song_path(@song), :method => :put do |f| -%>
<%= render :partial => 'form', :locals => {:f => f} %>
<%= f.text_area :kana, :style => "display:none" %>
<% end -%>
<% form_for @song, song_path, :method => :delete do |f| -%>
このデータを<%= f.submit "削除する" %>
<% end -%>
[<%= link_to "表示", song_path(@song) %>]
[<%= link_to "印刷用画面", print_song_path(@song) %>]
[<%= link_to "トップに戻る", song_path %>]
[<%= link_to_function "ローマ字", "toRoman()" %>]
[<%= link_to_function "リセット", "reset()" %>]