Corrected position of markup help in new.rhtml (it really should be the same template as edit.rhtml)
This commit is contained in:
parent
7152a78476
commit
37e1e6be0e
|
@ -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();'})
|
||||||
%>
|
%>
|
||||||
|
|
|
@ -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();'})
|
||||||
|
|
Loading…
Reference in a new issue