<%= form_for(@series) do |f| %>
<%= error_messages_for @series %>
<%= ts("* Required information") %>
<% end %>
<%= content_for :footer_js do %>
<%= javascript_tag do %>
$j(document).ready(function(){
$j(".toggle_formfield").click(function() {
var targetId = $j(this).attr("id").replace("-show", "");
toggleFormField(targetId);
});
})
<% end %>
<% end %>