summaryrefslogtreecommitdiffstats
path: root/app/views/projects/_form.rhtml
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-01-20 18:37:51 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-01-20 18:37:51 +0000
commitdf99d8f30801792560fc955ac36c2801e6aa5ff5 (patch)
tree967ec8ba76e959670fa5ef1586f7a0e6f9b247aa /app/views/projects/_form.rhtml
parentd5b9dedca2298e8b95bbb8ac309ddfe8454a8c76 (diff)
downloadredmine-df99d8f30801792560fc955ac36c2801e6aa5ff5.tar.gz
redmine-df99d8f30801792560fc955ac36c2801e6aa5ff5.zip
Unlimited and optional project description. The project list will show truncated descriptions only (the first fews lines).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1088 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/projects/_form.rhtml')
-rw-r--r--app/views/projects/_form.rhtml7
1 files changed, 5 insertions, 2 deletions
diff --git a/app/views/projects/_form.rhtml b/app/views/projects/_form.rhtml
index e63c929cc..a810369d4 100644
--- a/app/views/projects/_form.rhtml
+++ b/app/views/projects/_form.rhtml
@@ -8,8 +8,11 @@
<p><%= f.select :parent_id, (@root_projects.collect {|p| [p.name, p.id]}), { :include_blank => true } %></p>
<% end %>
-<p><%= f.text_area :description, :required => true, :cols => 60, :rows => 5 %><em><%= l(:text_caracters_maximum, 255) %></em></p>
-<p><%= f.text_field :identifier, :required => true, :disabled => @project.identifier_frozen? %><br /><em><%= l(:text_length_between, 3, 20) %> <%= l(:text_project_identifier_info) unless @project.identifier_frozen? %></em></p>
+<p><%= f.text_area :description, :rows => 5, :class => 'wiki-edit' %></p>
+<p><%= f.text_field :identifier, :required => true, :disabled => @project.identifier_frozen? %>
+<% unless @project.identifier_frozen? %>
+<br /><em><%= l(:text_length_between, 3, 20) %> <%= l(:text_project_identifier_info) %></em>
+<% end %></p>
<p><%= f.text_field :homepage, :size => 40 %></p>
<p><%= f.check_box :is_public %></p>
<%= wikitoolbar_for 'project_description' %>