uses <%= for form_tag

pull/1186/head
Jens Ulferts 12 years ago
parent 37813bbf05
commit 3621e85b02
  1. 3
      app/views/issues/index.html.erb

@ -9,10 +9,9 @@
<div class="title-bar"> <div class="title-bar">
<div class="title-bar-extras"> <div class="title-bar-extras">
<% html_title(@query.new_record? ? l(:label_issue_plural) : h(@query.name)) %> <% html_title(@query.new_record? ? l(:label_issue_plural) : h(@query.name)) %>
<% form_tag({ :controller => 'queries', :action => 'new' }, :id => 'query_form') do %> <%= form_tag({ :controller => 'queries', :action => 'new' }, :id => 'query_form') do %>
<%= hidden_field_tag('project_id', @project.to_param) if @project %> <%= hidden_field_tag('project_id', @project.to_param) if @project %>
<div id="query_form_content" class="hide-when-print"> <div id="query_form_content" class="hide-when-print">
<fieldset id="filters" class="header_collapsible collapsible <%= @query.new_record? ? "" : "collapsed" %>"> <fieldset id="filters" class="header_collapsible collapsible <%= @query.new_record? ? "" : "collapsed" %>">

Loading…
Cancel
Save