mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-21 14:52:59 +00:00
- validation of names and labels against /^[\w\s\'\-]*$/i - html entities encoding git-svn-id: http://redmine.rubyforge.org/svn/trunk@99 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 lines
373 B
Plaintext
7 lines
373 B
Plaintext
<h3><%=l(:label_document_plural)%></h3>
|
|
|
|
<%= render(:partial => 'documents/document',
|
|
:collection => Document.find(:all,
|
|
:limit => 10,
|
|
:conditions => "documents.project_id in (#{@user.projects.collect{|m| m.id}.join(',')})",
|
|
:include => [:project])) unless @user.projects.empty? %> |