From 7b366758fdc4867d4f5174e924464fffdcda6a72 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Fri, 17 Aug 2007 11:21:58 +0000 Subject: Textilized project descriptions on project list and home page. Added jsToolbar on project form. git-svn-id: http://redmine.rubyforge.org/svn/trunk@651 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/projects/_form.rhtml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'app/views/projects/_form.rhtml') diff --git a/app/views/projects/_form.rhtml b/app/views/projects/_form.rhtml index 9eb933035..585217e16 100644 --- a/app/views/projects/_form.rhtml +++ b/app/views/projects/_form.rhtml @@ -8,10 +8,11 @@

<%= f.select :parent_id, (@root_projects.collect {|p| [p.name, p.id]}), { :include_blank => true } %>

<% end %> -

<%= f.text_area :description, :required => true, :cols => 60, :rows => 3 %>
<%= l(:text_caracters_maximum, 255) %>

+

<%= f.text_area :description, :required => true, :cols => 60, :rows => 5 %><%= l(:text_caracters_maximum, 255) %>

<%= f.text_field :identifier, :required => true, :size => 15, :disabled => @project.identifier_frozen? %>
<%= l(:text_length_between, 3, 12) %> <%= l(:text_project_identifier_info) unless @project.identifier_frozen? %>

<%= f.text_field :homepage, :size => 40 %>

<%= f.check_box :is_public %>

+<%= wikitoolbar_for 'project_description' %> <% for @custom_value in @custom_values %>

<%= custom_field_tag_with_label @custom_value %>

-- cgit v1.2.3