##// END OF EJS Templates
Added some accesskeys:...
Added some accesskeys: * e => edit * r => preview * f => quick search * 4 => search git-svn-id: http://redmine.rubyforge.org/svn/trunk@804 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r793:e8971e5f831c
r793:e8971e5f831c
Show More
edit.rhtml
31 lines | 1.5 KiB | text/html+ruby | RhtmlLexer
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <h2><%= @page.pretty_title %></h2>
<% form_for :content, @content, :url => {:action => 'edit', :page => @page.title}, :html => {:id => 'wiki_form'} do |f| %>
Jean-Philippe Lang
Optimistic locking added for wiki edits....
r542 <%= f.hidden_field :version %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <%= error_messages_for 'content' %>
<div class="contextual">
<%= l(:setting_text_formatting) %>:
<%= link_to l(:label_help), {:controller => 'help', :ctrl => 'wiki', :page => 'syntax' },
:onclick => "window.open('#{ url_for :controller => 'help', :ctrl => 'wiki', :page => 'syntax' }', '', 'resizable=yes, location=no, width=300, height=500, menubar=no, status=no, scrollbars=yes'); return false;" %>
</div>
Jean-Philippe Lang
Added some accesskeys:...
r793 <p><%= f.text_area :text, :cols => 100, :rows => 25, :class => 'wiki-edit', :accesskey => accesskey(:edit) %></p>
Jean-Philippe Lang
Fixed: 10342 Creation of Schema in Oracle...
r476 <p><label><%= l(:field_comments) %></label><br /><%= f.text_field :comments, :size => 120 %></p>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <p><%= submit_tag l(:button_save) %>
<%= link_to_remote l(:label_preview),
Jean-Philippe Lang
Fixed 9793 Preview fail for first wiki page of a project...
r408 { :url => { :controller => 'wiki', :action => 'preview', :id => @project, :page => @page.title },
Jean-Philippe Lang
Fixed: wiki preview doesn't work on long entries....
r652 :method => 'post',
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 :update => 'preview',
Jean-Philippe Lang
Automatically scroll down to the preview when previewing wiki page....
r701 :with => "Form.serialize('wiki_form')",
:complete => "location.href='#preview-top'"
Jean-Philippe Lang
Added some accesskeys:...
r793 }, :accesskey => accesskey(:preview) %></p>
Jean-Philippe Lang
Fixed: wiki preview doesn't work on long entries....
r652 <%= wikitoolbar_for 'content_text' %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <% end %>
Jean-Philippe Lang
Automatically scroll down to the preview when previewing wiki page....
r701 <a name="preview-top"></a>
Jean-Philippe Lang
Fixed: wiki preview doesn't work on long entries....
r652 <div id="preview" class="wiki"></div>
Jean-Philippe Lang
Added code highlighting support in wiki, using this syntax:...
r699
<% content_for :header_tags do %>
<%= stylesheet_link_tag 'scm' %>
<% end %>
Jean-Philippe Lang
Removed @html_title assignments in controllers....
r704
<% set_html_title @page.pretty_title %>