@@ -1,18 +1,18 | |||
|
1 | 1 | <%= labelled_remote_form_for @wiki, |
|
2 | 2 | :as => :wiki, |
|
3 | :url => { :controller => 'wikis', :action => 'edit', :id => @project } do |f| %> | |
|
3 | :url => { :controller => 'wikis', :action => 'edit', :id => @project }, :method => 'post' do |f| %> | |
|
4 | 4 | |
|
5 | 5 | <%= error_messages_for 'wiki' %> |
|
6 | 6 | |
|
7 | 7 | <div class="box tabular"> |
|
8 | 8 | <p><%= f.text_field :start_page, :size => 60, :required => true %> |
|
9 | 9 | <em class="info"><%= l(:text_unallowed_characters) %>: , . / ? ; : |</em></p> |
|
10 | 10 | </div> |
|
11 | 11 | |
|
12 | 12 | <div class="contextual"> |
|
13 | 13 | <%= link_to(l(:button_delete), {:controller => 'wikis', :action => 'destroy', :id => @project}, |
|
14 | 14 | :class => 'icon icon-del') if @wiki && !@wiki.new_record? %> |
|
15 | 15 | </div> |
|
16 | 16 | |
|
17 | 17 | <%= submit_tag((@wiki.nil? || @wiki.new_record?) ? l(:button_create) : l(:button_save)) %> |
|
18 | 18 | <% end %> |
General Comments 0
You need to be logged in to leave comments.
Login now