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 @ 1273:052ea7c838f6
History | View | Annotate | Download (734 Bytes)
| 1 |
<%= labelled_form_for @wiki,
|
|---|---|
| 2 |
:as => :wiki,
|
| 3 |
:url => { :controller => 'wikis', :action => 'edit', :id => @project },
|
| 4 |
:remote => true, :method => 'post' 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 %> |
| 10 |
<em class="info"><%= 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 %>
|