diff --git a/app/views/wiki/edit.rhtml b/app/views/wiki/edit.rhtml index 6eda2570..ad7df15d 100644 --- a/app/views/wiki/edit.rhtml +++ b/app/views/wiki/edit.rhtml @@ -9,28 +9,28 @@ <%= render 'wiki_words_help' %> -<%= form_tag({ :action => 'save', :web => @web.address, :id => @page.name }, - { 'id' => 'editForm', 'method' => 'post', 'onSubmit' => 'cleanAuthorName()', - 'accept-charset' => 'utf-8' }) -%> +
- -
-- as - <%= text_field_tag :author, @author, - :onfocus => "this.value == 'AnonymousCoward' ? this.value = '' : true;", - :onblur => "this.value == '' ? this.value = 'AnonymousCoward' : true" %> - | - <%= link_to('Cancel', {:web => @web.address, :action => 'cancel_edit', :id => @page.name}, - {:accesskey => 'c'}) - %> - (unlocks page) -
-<%= end_form_tag %> - - diff --git a/app/views/wiki/new.rhtml b/app/views/wiki/new.rhtml index fe09a91b..cda26081 100644 --- a/app/views/wiki/new.rhtml +++ b/app/views/wiki/new.rhtml @@ -4,28 +4,26 @@ @hide_navigation = true %> -- -
-- as - <%= text_field_tag :author, @author, - :onfocus => "this.value == 'AnonymousCoward' ? this.value = '' : true;", - :onblur => "this.value == '' ? this.value = 'AnonymousCoward' : true" %> -
-<%= end_form_tag %> - -