OSDN Git Service

today's work. songs new, create, edit
[praisedb/praisedb.git] / app / views / songs / new.html.erb
diff --git a/app/views/songs/new.html.erb b/app/views/songs/new.html.erb
new file mode 100644 (file)
index 0000000..1df576e
--- /dev/null
@@ -0,0 +1,11 @@
+<h1>歌詞の作成 (create new song)</h1>
+<p>歌詞その他を入力してください。ローマ字の登録は次の画面でローマ字ボタン押してください。</p>
+
+<p>
+  <%= flash[:notice] %>
+  <%= @error_messages %>
+</p>
+
+<% form_for @song, songs_path do |f| -%>
+  <%= render :partial => 'form', :locals => {:f => f} %>
+<% end -%>