Yuck. Yet more XHTML validity fixes.
This commit is contained in:
parent
21a403b04f
commit
09e8b609b6
3 changed files with 7 additions and 11 deletions
|
@ -43,12 +43,12 @@
|
|||
</li>
|
||||
</ol>
|
||||
|
||||
<p align="right">
|
||||
<p style="text-align:right">
|
||||
<input type="submit" value="Setup" style="margin-left: 40px" />
|
||||
</p>
|
||||
<%= end_form_tag %>
|
||||
|
||||
<script>
|
||||
<script type="text/javascript">
|
||||
function proposeAddress() {
|
||||
document.getElementById('web_address').value =
|
||||
document.getElementById('web_name').value.replace(/[^a-zA-Z0-9]/g, "").toLowerCase();
|
||||
|
|
|
@ -29,18 +29,16 @@
|
|||
</ol>
|
||||
|
||||
|
||||
<p align="right">
|
||||
<small>
|
||||
<p style="text-align:right;font-size:.85em;">
|
||||
<label for="system_password">Enter system password</label>
|
||||
<input type="password" id="system_password" name="system_password" />
|
||||
and
|
||||
<input type="submit" value="Create Web" />
|
||||
</small>
|
||||
</p>
|
||||
|
||||
<%= end_form_tag %>
|
||||
|
||||
<script>
|
||||
<script type="text/javascript">
|
||||
function proposeAddress() {
|
||||
document.getElementById('web_address').value =
|
||||
document.getElementById('web_name').value.replace(/[^a-zA-Z0-9]/g, "").toLowerCase();
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
<% @title = "#{@web_name} Login" %><% @hide_navigation = true %>
|
||||
|
||||
<p>
|
||||
<%= form_tag({ :controller => 'wiki', :action => 'authenticate', :web => @web.address},
|
||||
{ 'name' => 'loginForm', 'id' => 'loginForm', 'method' => 'post', 'accept-charset' => 'utf-8' }) %>
|
||||
{ 'id' => 'loginForm', 'method' => 'post', 'accept-charset' => 'utf-8' }) %>
|
||||
<p>
|
||||
This web is password-protected. Please enter the password.
|
||||
<% if @web.published? %>
|
||||
|
@ -10,12 +9,11 @@
|
|||
<% end %>
|
||||
</p>
|
||||
<p>
|
||||
<b>Password: </b>
|
||||
<label for="password"><b>Password:</b></label>
|
||||
<input type="password" name="password" id="password" />
|
||||
<input type="submit" value="Login" default="yes" />
|
||||
<input type="submit" value="Login" />
|
||||
</p>
|
||||
<%= end_form_tag %>
|
||||
</p>
|
||||
|
||||
<script type="text/javascript">
|
||||
document.forms["loginForm"].elements["password"].focus();
|
||||
|
|
Loading…
Reference in a new issue