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