diff options
Diffstat (limited to 'app/views/projects/_form.rhtml')
-rw-r--r-- | app/views/projects/_form.rhtml | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/app/views/projects/_form.rhtml b/app/views/projects/_form.rhtml index 7edf17e30..aa30f1eaa 100644 --- a/app/views/projects/_form.rhtml +++ b/app/views/projects/_form.rhtml @@ -28,32 +28,6 @@ <!--[eoform:project]--> </div> -<div class="box"> - <h3><%= check_box_tag "repository_enabled", 1, !@project.repository.nil?, :onclick => "Element.toggle('repository');" %> <%= l(:label_repository) %></h3> - <%= hidden_field_tag "repository_enabled", 0 %> - <div id="repository"> - <p class="tabular"><label>SCM</label><%= scm_select_tag %></p> - <div id="repository_fields"> - <%= render :partial => 'projects/repository', :locals => {:repository => @project.repository} if @project.repository %> - </div> - </div> -</div> -<%= javascript_tag "Element.hide('repository');" if @project.repository.nil? %> - -<div class="box"> -<h3><%= check_box_tag "wiki_enabled", 1, !@project.wiki.nil?, :onclick => "Element.toggle('wiki');" %> <%= l(:label_wiki) %></h3> -<%= hidden_field_tag "wiki_enabled", 0 %> -<div id="wiki"> -<% fields_for :wiki, @project.wiki, { :builder => TabularFormBuilder, :lang => current_language} do |wiki| %> -<p><%= wiki.text_field :start_page, :size => 60, :required => true %><br /><em><%= l(:text_unallowed_characters) %>: , . / ? ; : |</em></p> -<% # content_tag("div", "", :id => "wiki_start_page_auto_complete", :class => "auto_complete") + - # auto_complete_field("wiki_start_page", { :url => { :controller => 'wiki', :action => 'auto_complete_for_wiki_page', :id => @project } }) -%> -<% end %> -</div> -<%= javascript_tag "Element.hide('wiki');" if @project.wiki.nil? %> -</div> - <% content_for :header_tags do %> <%= javascript_include_tag 'calendar/calendar' %> <%= javascript_include_tag "calendar/lang/calendar-#{current_language}.js" %> |