You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

_wiki.html.erb 659B

1234567891011121314151617
  1. <% labelled_remote_form_for :wiki, @wiki,
  2. :url => { :controller => 'wikis', :action => 'edit', :id => @project } do |f| %>
  3. <%= error_messages_for 'wiki' %>
  4. <div class="box tabular">
  5. <p><%= f.text_field :start_page, :size => 60, :required => true %>
  6. <em class="info"><%= l(:text_unallowed_characters) %>: , . / ? ; : |</em></p>
  7. </div>
  8. <div class="contextual">
  9. <%= link_to(l(:button_delete), {:controller => 'wikis', :action => 'destroy', :id => @project},
  10. :class => 'icon icon-del') if @wiki && !@wiki.new_record? %>
  11. </div>
  12. <%= submit_tag((@wiki.nil? || @wiki.new_record?) ? l(:button_create) : l(:button_save)) %>
  13. <% end %>