<%= f.text_area :text, :cols => 100, :rows => 25, :style => "width:99%;" %>
<%= f.text_field :comment, :size => 120 %>
<%= submit_tag l(:button_save) %> <%= link_to_remote l(:label_preview), { :url => { :controller => 'wiki', :action => 'preview' }, :method => 'get', :update => 'preview', :with => "Form.serialize('wiki_form')", :loading => "Element.show('indicator')", :loaded => "Element.hide('indicator')" } %>
<% end %> <% if Setting.text_formatting == 'textile' %> <%= javascript_include_tag 'jstoolbar' %> <% end %>