Corrected position of markup help in new.rhtml (it really should be the same template as edit.rhtml)

This commit is contained in:
Alexey Verkhovsky 2005-04-08 06:16:22 +00:00
parent 7152a78476
commit 37e1e6be0e
2 changed files with 4 additions and 2 deletions

View file

@ -11,7 +11,6 @@
<%= render 'wiki_words_help' %> <%= render 'wiki_words_help' %>
</div> </div>
<%= form_tag({ :action => 'save', :web => @web.address, :id => @page.name}, <%= form_tag({ :action => 'save', :web => @web.address, :id => @page.name},
{'id' => 'editForm', 'method' => 'post', 'onSubmit' => 'cleanAuthorName();'}) {'id' => 'editForm', 'method' => 'post', 'onSubmit' => 'cleanAuthorName();'})
%> %>

View file

@ -4,7 +4,10 @@
@hide_navigation = true @hide_navigation = true
%> %>
<%= render("#{@web.markup}_help") if @web %> <div id="MarkupHelp" style="float: right; width: 250px; margin-top: 5px">
<%= render("#{@web.markup}_help") %>
<%= render 'wiki_words_help' %>
</div>
<%= form_tag({ :action => 'save', :web => @web.address, :id => @page_name}, <%= form_tag({ :action => 'save', :web => @web.address, :id => @page_name},
{'id' => 'editForm', 'method' => 'post', 'onSubmit' => 'cleanAuthorName();'}) {'id' => 'editForm', 'method' => 'post', 'onSubmit' => 'cleanAuthorName();'})