Mercurial > hg > soundsoftware-site
annotate .svn/pristine/ea/ea9721cdf4dd7204c0ca90b60d0c1647956cea47.svn-base @ 1327:287f201c2802 redmine-2.2-integration
Add italic
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Wed, 19 Jun 2013 20:56:22 +0100 |
parents | 038ba2d95de8 |
children |
rev | line source |
---|---|
Chris@1296 | 1 <%= labelled_form_for @wiki, |
Chris@1296 | 2 :as => :wiki, |
Chris@1296 | 3 :url => { :controller => 'wikis', :action => 'edit', :id => @project }, |
Chris@1296 | 4 :remote => true, :method => 'post' do |f| %> |
Chris@1296 | 5 |
Chris@1296 | 6 <%= error_messages_for 'wiki' %> |
Chris@1296 | 7 |
Chris@1296 | 8 <div class="box tabular"> |
Chris@1296 | 9 <p><%= f.text_field :start_page, :size => 60, :required => true %> |
Chris@1296 | 10 <em class="info"><%= l(:text_unallowed_characters) %>: , . / ? ; : |</em></p> |
Chris@1296 | 11 </div> |
Chris@1296 | 12 |
Chris@1296 | 13 <div class="contextual"> |
Chris@1296 | 14 <%= link_to(l(:button_delete), {:controller => 'wikis', :action => 'destroy', :id => @project}, |
Chris@1296 | 15 :class => 'icon icon-del') if @wiki && !@wiki.new_record? %> |
Chris@1296 | 16 </div> |
Chris@1296 | 17 |
Chris@1296 | 18 <%= submit_tag((@wiki.nil? || @wiki.new_record?) ? l(:button_create) : l(:button_save)) %> |
Chris@1296 | 19 <% end %> |