diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-01-26 19:56:25 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-01-26 19:56:25 +0000 |
commit | 845460b16525dc350a12a9f1bde2109caa1a53b6 (patch) | |
tree | 746f9b896bc13b3165c4507652adfe8294fa3efc /app/views/projects/add_file.rhtml | |
parent | 7c27fb7c1d9866f68b9e444cd3af68256cdc637a (diff) | |
download | redmine-845460b16525dc350a12a9f1bde2109caa1a53b6.tar.gz redmine-845460b16525dc350a12a9f1bde2109caa1a53b6.zip |
deprecated start_form_tag replaced by form_tag
git-svn-id: http://redmine.rubyforge.org/svn/trunk@184 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/projects/add_file.rhtml')
-rw-r--r-- | app/views/projects/add_file.rhtml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/add_file.rhtml b/app/views/projects/add_file.rhtml index 6efc1d2c5..ecc9101de 100644 --- a/app/views/projects/add_file.rhtml +++ b/app/views/projects/add_file.rhtml @@ -2,7 +2,7 @@ <%= error_messages_for 'attachment' %>
<div class="box">
-<%= start_form_tag ({ :action => 'add_file', :id => @project }, :multipart => true, :class => "tabular") %>
+<% form_tag({ :action => 'add_file', :id => @project }, :multipart => true, :class => "tabular") do %>
<p><label for="version_id"><%=l(:field_version)%> <span class="required">*</span></label>
<%= select_tag "version_id", options_from_collection_for_select(@versions, "id", "name") %></p>
@@ -12,4 +12,4 @@ <%= file_field_tag 'attachments[]', :size => 30 %> <em>(<%= l(:label_max_size) %>: <%= human_size(Setting.attachment_max_size.to_i.kilobytes) %>)</em></p>
</div>
<%= submit_tag l(:button_add) %>
-<%= end_form_tag %>
\ No newline at end of file +<% end %>
\ No newline at end of file |