To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / app / views / projects / settings / _wiki.html.erb @ 912:5e80956cc792
History | View | Annotate | Download (740 Bytes)
| 1 | 0:513646585e45 | Chris | <% remote_form_for :wiki, @wiki,
|
|---|---|---|---|
| 2 | :url => { :controller => 'wikis', :action => 'edit', :id => @project },
|
||
| 3 | :builder => TabularFormBuilder,
|
||
| 4 | :lang => current_language do |f| %>
|
||
| 5 | |||
| 6 | <%= error_messages_for 'wiki' %>
|
||
| 7 | |||
| 8 | <div class="box tabular"> |
||
| 9 | <p><%= f.text_field :start_page, :size => 60, :required => true %><br /> |
||
| 10 | <em><%= l(:text_unallowed_characters) %>: , . / ? ; : |</em></p> |
||
| 11 | </div>
|
||
| 12 | |||
| 13 | <div class="contextual"> |
||
| 14 | <%= link_to(l(:button_delete), {:controller => 'wikis', :action => 'destroy', :id => @project},
|
||
| 15 | :class => 'icon icon-del') if @wiki && !@wiki.new_record? %>
|
||
| 16 | </div>
|
||
| 17 | |||
| 18 | <%= submit_tag((@wiki.nil? || @wiki.new_record?) ? l(:button_create) : l(:button_save)) %>
|
||
| 19 | <% end %> |