<% @title = "Edit Web" %> <% form_tag({ :controller => 'admin', :action => 'edit_web', :web => @web.address }, { 'id' => 'setup', 'method' => 'post', 'onsubmit' => 'cleanAddress(); return validateSetup()', 'accept-charset' => 'utf-8' }) do %>

Name and address

The name of the web is included in the title on all pages. The address is the base path that all pages within the web live beneath. Ex: the address "rails" gives URLs like /rails/show/HomePage.
   (Letters and digits only)

Specialize

  

/>
/>
/>
/> Allow uploads of no more than kbytes - allow users to upload pictures and other files and include them on wiki pages

Stylesheet tweaks >> - add or change styles used by this web; styles defined here take precedence over instiki.css. Hint: View HTML source of a page you want to style to find ID names on individual tags.

Password protection for this web (<%= @web.name %>)

This is the password that visitors need to view and edit this web. Setting the password to nothing will remove the password protection.
  

Publish read-only version of this web (<%= @web.name %>)

You can turn on a read-only version of this web that's accessible even when the regular web is password protected. The published version is accessible through URLs like /wiki/published/HomePage.
/>

and

...or forget changes and <%= link_to 'create a new web', :action => 'create_web' %>

<% end %>

Other administrative tasks

<% form_tag({:controller => 'admin', :web => @web.address, :action => 'remove_orphaned_pages'}, { :id => 'remove_orphaned_pages', :onsubmit => "return checkSystemPassword(document.getElementById('system_password_orphaned').value)", 'accept-charset' => 'utf-8' }) do %>

Clean up by entering system password and

<% end %> <% form_tag({:controller => 'admin', :web => @web.address, :action => 'delete_web'}, { :id => 'delete_web', :onsubmit => "return checkSystemPassword(document.getElementById('system_password_delete_web').value)", 'accept-charset' => 'utf-8' }) do %>

Delete this Web, and all its pages. and

<% end %> <%= javascript_include_tag 'edit_web' %>