diff options
Diffstat (limited to 'app/views/versions')
-rw-r--r-- | app/views/versions/_issue_counts.html.erb | 2 | ||||
-rw-r--r-- | app/views/versions/_new_modal.html.erb | 2 | ||||
-rw-r--r-- | app/views/versions/edit.html.erb | 2 | ||||
-rw-r--r-- | app/views/versions/index.html.erb | 4 | ||||
-rw-r--r-- | app/views/versions/new.html.erb | 2 | ||||
-rw-r--r-- | app/views/versions/show.html.erb | 2 |
6 files changed, 7 insertions, 7 deletions
diff --git a/app/views/versions/_issue_counts.html.erb b/app/views/versions/_issue_counts.html.erb index 78b77e408..e4bb6e666 100644 --- a/app/views/versions/_issue_counts.html.erb +++ b/app/views/versions/_issue_counts.html.erb @@ -1,4 +1,4 @@ -<% form_tag({}, :id => "status_by_form") do -%> +<%= form_tag({}, :id => "status_by_form") do -%> <fieldset> <legend> <%= l(:label_issues_by, diff --git a/app/views/versions/_new_modal.html.erb b/app/views/versions/_new_modal.html.erb index 8b58883c8..cd51fdc93 100644 --- a/app/views/versions/_new_modal.html.erb +++ b/app/views/versions/_new_modal.html.erb @@ -1,6 +1,6 @@ <h3 class="title"><%=l(:label_version_new)%></h3> -<% labelled_remote_form_for @version, :url => project_versions_path(@project) do |f| %> +<%= labelled_remote_form_for :version, @version, :url => project_versions_path(@project) do |f| %> <%= render :partial => 'versions/form', :locals => { :f => f } %> <p class="buttons"> <%= submit_tag l(:button_create), :name => nil %> diff --git a/app/views/versions/edit.html.erb b/app/views/versions/edit.html.erb index 6c8f5a579..3c67f09c0 100644 --- a/app/views/versions/edit.html.erb +++ b/app/views/versions/edit.html.erb @@ -1,6 +1,6 @@ <h2><%=l(:label_version)%></h2> -<% labelled_form_for @version do |f| %> +<%= labelled_form_for @version do |f| %> <%= render :partial => 'form', :locals => { :f => f } %> <%= submit_tag l(:button_save) %> <% end %> diff --git a/app/views/versions/index.html.erb b/app/views/versions/index.html.erb index 71a756ea7..d8ac53401 100644 --- a/app/views/versions/index.html.erb +++ b/app/views/versions/index.html.erb @@ -14,7 +14,7 @@ <%= render(:partial => "wiki/content", :locals => {:content => version.wiki_page.content}) if version.wiki_page %> <% if (issues = @issues_by_version[version]) && issues.size > 0 %> - <% form_tag({}) do -%> + <%= form_tag({}) do -%> <table class="list related-issues"> <caption><%= l(:label_related_issues) %></caption> <% issues.each do |issue| -%> @@ -32,7 +32,7 @@ <% end %> <% content_for :sidebar do %> -<% form_tag({}, :method => :get) do %> +<%= form_tag({}, :method => :get) do %> <h3><%= l(:label_roadmap) %></h3> <% @trackers.each do |tracker| %> <label><%= check_box_tag "tracker_ids[]", tracker.id, (@selected_tracker_ids.include? tracker.id.to_s), :id => nil %> diff --git a/app/views/versions/new.html.erb b/app/views/versions/new.html.erb index 2a51957a1..c63edade7 100644 --- a/app/views/versions/new.html.erb +++ b/app/views/versions/new.html.erb @@ -1,6 +1,6 @@ <h2><%=l(:label_version_new)%></h2> -<% labelled_form_for @version, :url => project_versions_path(@project) do |f| %> +<%= labelled_form_for @version, :url => project_versions_path(@project) do |f| %> <%= render :partial => 'versions/form', :locals => { :f => f } %> <%= submit_tag l(:button_create) %> <% end %> diff --git a/app/views/versions/show.html.erb b/app/views/versions/show.html.erb index 07ae0b1cc..f44e3f272 100644 --- a/app/views/versions/show.html.erb +++ b/app/views/versions/show.html.erb @@ -36,7 +36,7 @@ </div> <% if @issues.present? %> -<% form_tag({}) do -%> +<%= form_tag({}) do -%> <table class="list related-issues"> <caption><%= l(:label_related_issues) %></caption> <%- @issues.each do |issue| -%> |