diff --git a/app/views/account/login.rhtml b/app/views/account/login.rhtml index 346f7d52..382afdc1 100644 --- a/app/views/account/login.rhtml +++ b/app/views/account/login.rhtml @@ -2,7 +2,7 @@
<%= text_field_tag 'login', nil, :size => 25 %>
@@ -10,7 +10,7 @@ <%= password_field_tag 'password', nil, :size => 25 %><%= text_field_tag 'mail', nil, :size => 40 %>
<%= password_field_tag 'new_password', nil, :size => 25 %>
@@ -15,7 +15,7 @@ <%= password_field_tag 'new_password_confirmation', nil, :size => 25 %><%=l(:text_select_mail_notifications)%>
@@ -21,4 +21,4 @@<%= file_field_tag 'attachments[]', :size => 30 %> (<%= l(:label_max_size) %>: <%= human_size(Setting.attachment_max_size.to_i.kilobytes) %>)
<%= submit_tag l(:button_add) %> - <%= end_form_tag %> + <% end %> <% end %> diff --git a/app/views/enumerations/edit.rhtml b/app/views/enumerations/edit.rhtml index 3002b593..7baea028 100644 --- a/app/views/enumerations/edit.rhtml +++ b/app/views/enumerations/edit.rhtml @@ -1,10 +1,10 @@<%= file_field_tag 'attachments[]', :size => 30 %> (<%= l(:label_max_size) %>: <%= human_size(Setting.attachment_max_size.to_i.kilobytes) %>)
<%= submit_tag l(:button_add) %> - <%= end_form_tag %> + <% end %> <% end %> <% if authorize_for('issues', 'add_note') %><%= text_area_tag 'notes', '', :cols => 60, :rows => 10 %>
<%= submit_tag l(:button_add) %> - <%= end_form_tag %> + <% end %><%= password_field_tag 'password', nil, :size => 25 %>
@@ -41,6 +41,6 @@ <%= password_field_tag 'new_password_confirmation', nil, :size => 25 %>
<%= text_area 'comment', 'comment', :cols => 60, :rows => 6 %>
<%= select_month(@month, :prefix => "month", :discard_type => true) %> <%= select_year(@year, :prefix => "year", :discard_type => true) %>
@@ -12,7 +12,7 @@ <%= check_box_tag 'show_documents', 1, @show_documents %><%= hidden_field_tag 'show_documents', 0, :id => nil %> <%=l(:label_document_plural)%>
<%= submit_tag l(:button_apply), :class => 'button-small' %>
-<%= end_form_tag %> +<% end %><%= select_tag "version_id", options_from_collection_for_select(@versions, "id", "name") %>
@@ -12,4 +12,4 @@ <%= file_field_tag 'attachments[]', :size => 30 %> (<%= l(:label_max_size) %>: <%= human_size(Setting.attachment_max_size.to_i.kilobytes) %>)@@ -22,7 +22,7 @@ |
-<%= start_form_tag %>
+<% form_tag do %>
<%= l(:label_months_from) %> @@ -17,7 +17,7 @@ <%= hidden_field_tag 'zoom', @zoom %> <%= submit_tag l(:button_submit), :class => "button-small" %> -<%= end_form_tag %> +<% end %> |
<%= if @zoom < 4
diff --git a/app/views/projects/list_issues.rhtml b/app/views/projects/list_issues.rhtml
index 2d7fc1f5..3f8451ec 100644
--- a/app/views/projects/list_issues.rhtml
+++ b/app/views/projects/list_issues.rhtml
@@ -4,9 +4,9 @@
<%=l(:label_issue_plural)%>- <%= start_form_tag({:action => 'list_issues'}, :id => 'query_form') %> + <% form_tag({:action => 'list_issues'}, :id => 'query_form') do %> <%= render :partial => 'queries/filters', :locals => {:query => @query} %> - <%= end_form_tag %> + <% end %>
<%= link_to_remote l(:button_apply),
{ :url => { :controller => 'projects', :action => 'list_issues', :id => @project, :set_filter => 1 },
@@ -42,7 +42,7 @@
@@ -80,17 +80,17 @@
diff --git a/app/views/queries/edit.rhtml b/app/views/queries/edit.rhtml
index 71f146f1..337b498f 100644
--- a/app/views/queries/edit.rhtml
+++ b/app/views/queries/edit.rhtml
@@ -1,6 +1,6 @@
<%= l(:label_no_data) %> <% else %> -<%= start_form_tag({:controller => 'projects', :action => 'move_issues', :id => @project}, :id => 'issues_form' ) %> +<% form_tag({:controller => 'projects', :action => 'move_issues', :id => @project}, :id => 'issues_form' ) do %>
- <%= start_form_tag :controller => 'projects', :action => 'add_member', :tab => 'members', :id => @project %> + <% form_tag({:controller => 'projects', :action => 'add_member', :tab => 'members', :id => @project}) do %> @@ -55,7 +55,7 @@ <%= options_from_collection_for_select @roles, "id", "name", @member.role_id %> <%= submit_tag l(:button_add) %> - <%= end_form_tag %> + <% end %> <% end %> <%= l(:label_query) %>-<%= start_form_tag :action => 'edit', :id => @query %> +<% form_tag({:action => 'edit', :id => @query}) do %> <%= render :partial => 'form', :locals => {:query => @query} %> <%= submit_tag l(:button_save) %> -<%= end_form_tag %> \ No newline at end of file +<% end %> \ No newline at end of file diff --git a/app/views/repositories/browse.rhtml b/app/views/repositories/browse.rhtml index cdd4e688..828082e8 100644 --- a/app/views/repositories/browse.rhtml +++ b/app/views/repositories/browse.rhtml @@ -1,8 +1,8 @@
-<%= start_form_tag %>
+<% form_tag do %>
<%= l(:label_revision) %>: <%= text_field_tag 'rev', @rev, :size => 5 %> <%= submit_tag 'OK' %> -<%= end_form_tag %> +<% end %><%= render :partial => 'navigation', :locals => { :path => @path, :kind => 'dir', :revision => @rev } %>diff --git a/app/views/repositories/revision.rhtml b/app/views/repositories/revision.rhtml index f616a018..e32de5df 100644 --- a/app/views/repositories/revision.rhtml +++ b/app/views/repositories/revision.rhtml @@ -1,8 +1,8 @@
-<%= start_form_tag %>
+<% form_tag do %>
<%= l(:label_revision) %>: <%= text_field_tag 'rev', @rev, :size => 5 %> <%= submit_tag 'OK' %> -<%= end_form_tag %> +<% end %><%= l(:label_revision) %> <%= @revision.identifier %>diff --git a/app/views/repositories/revisions.rhtml b/app/views/repositories/revisions.rhtml index 6ab8df40..752be89a 100644 --- a/app/views/repositories/revisions.rhtml +++ b/app/views/repositories/revisions.rhtml @@ -1,8 +1,8 @@
-<%= start_form_tag %>
+<% form_tag do %>
<%= l(:label_revision) %>: <%= text_field_tag 'rev', @rev, :size => 5 %> <%= submit_tag 'OK' %> -<%= end_form_tag %> +<% end %><%= render :partial => 'navigation', :locals => { :path => @path, :kind => @entry.kind, :revision => @rev } %>diff --git a/app/views/roles/workflow.rhtml b/app/views/roles/workflow.rhtml index b544ab4c..620b3700 100644 --- a/app/views/roles/workflow.rhtml +++ b/app/views/roles/workflow.rhtml @@ -2,7 +2,7 @@<%=l(:text_workflow_edit)%>: -<%= start_form_tag ({:action => 'workflow'}, :method => 'get') %> +<% form_tag ({:action => 'workflow'}, :method => 'get') do %>
- <%= form_tag ({:action => 'workflow', :role_id => @role, :tracker_id => @tracker }, :id => 'workflow_form' ) %>
+ <% form_tag ({:action => 'workflow', :role_id => @role, :tracker_id => @tracker }, :id => 'workflow_form' ) do %>
|