Displaying 5 results from an estimated 5 matches for "loginform".
Did you mean:
login_form
2006 Apr 06
1
Bug? In scriptaculous -- double text drawn one pixel off
...;></script>
<script src="/js/scriptaculous.js" type="text/javascript"></script>
<title>CameraPuppy.com</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<style type="text/css">
#loginform {
width: 165px;
}
</style>
<script type="text/javascript">
function createAccountForm() {
Effect.toggle(''loginform'',''appear'');
}
</script>
</head>
<body>
<div id="loginform" onclick="crea...
2007 Aug 31
2
Give focus to an input field of a form
...cument.<form_name>.user_login.focus()
However the rails view doesn''t have name for the form, so that code
won''t work. Below is the code for the login.rhtml from Typo:
<% form_tag :action=> "login" do %>
<div title="Account login" id="loginform">
<h3>Typo</h3>
<div class="form admin">
<% if flash[:notice] %>
<h4><%= flash[:notice] %></h4>
<% end %>
<ul>
<li>
<label for="user_login" class="bl...
2006 Jan 29
1
RJS template problem!
....
end
with this rjs template:
login.rjs:
if @logged_in_user
page.replace_html ''content'', ''welcome!''
page.replace_html ''nav'', :partial => "ascase/navi"
else
page.replace_html ''content'', :partial => ''loginform''
page.visual_effect :highlight, ''notice'', :duration => 2
flash[:notice] = ""
end
and my loginform partial:
<h1>Login</h1>
<div id="notice"><%= flash[:notice] %></div>
<%= form_remote_tag :url => {:action =>...
2006 Mar 18
3
Weird stylesheet_link_tag issue after moving servers
Dear experts,
I am in the process of switching servers for my application.
Before the move everything was working properly.
After the move
<%= stylesheet_link_tag ''/stylesheets/styles.css'' %>
generates
<link href="//stylesheets/styles.css" media="screen" rel="Stylesheet" type="text/css" />
2006 Dec 07
6
form_tag not producing output
I''ve got two servers, both with Rails 1.1.6 on them. I''m trying to
remove some of the newly-deprecated stuff in my app, and I''ve run into
a problem. My login page used to look like this:
<div title="Account login" id="loginform" class="form">
<h1>Please Sign In</h1>
<%= start_form_tag :action => ''login'' %>
<label for="user_login">Login:</label><br/>
<input type="text" name="user_login" id="user_login&...