What is the correct way to use the form tag, I am getting a compile error when I include the end. When I take it out it works, should I just manually end the form with HTML? Or is there something wrong with my syntax?
<html>
<head>
<title>
Databse connections
</title>
</head>
<body>
<%= form_tag ( :action => 'create' )%>
<%= text_field(:album, :title) %>
<%= text_field(:album, :artist) %>
<%= text_field(:album, :genre) %>
<%= datetime_select(:album, :release_date) %>
<%= submit_tag("Create") %>
<% end %>
</body>
</html>