<%= title "#{h @controller.action_name.humanize} #{h @controller.controller_name.singularize.humanize}" %>
<%= error_messages_for 'chart' %> <% form_tag :action => 'create', :state_id => @state_id do %> <%= render :partial => "form" %> <% end %> <%= post_attribute_new %>
<%=h controller.controller_name.singularize.humanize %>
<%= submit_tag "Create" %><%= submit_tag "Cancel" %>