##// END OF EJS Templates
Added cache for application settings (Setting model)....
Added cache for application settings (Setting model). Once the values are cached, only one database query is done at each user request (to check if the cache is still valid). git-svn-id: http://redmine.rubyforge.org/svn/trunk@685 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r545:70374d084e19
r674:6bdc13b33d8d
Show More
add_file.rhtml
12 lines | 483 B | text/html+ruby | RhtmlLexer
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <h2><%=l(:label_attachment_new)%></h2>
<%= error_messages_for 'attachment' %>
<div class="box">
<% 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>
Jean-Philippe Lang
Slight views refactoring...
r545 <%= render :partial => 'attachments/form' %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 </div>
<%= submit_tag l(:button_add) %>
Jean-Philippe Lang
deprecated start_form_tag replaced by form_tag...
r181 <% end %>