Permalink
Browse files
disable autocomplete everywhere
- Loading branch information...
|
|
@@ -7,7 +7,7 @@ |
|
|
|
|
|
<div style="width: 100%;">
|
|
|
<%= text_area_tag "comment", comment.comment, :rows => 5,
|
|
|
:style => "width: 100%;" %>
|
|
|
:style => "width: 100%;", :autocomplete => "off" %>
|
|
|
|
|
|
<p></p>
|
|
|
|
|
|
|
|
|
@@ -37,17 +37,20 @@ |
|
|
|
|
|
<div class="boxline">
|
|
|
<%= f.label :recipient_username, "To:", :class => "required" %>
|
|
|
<%= f.text_field :recipient_username, :size => 20 %>
|
|
|
<%= f.text_field :recipient_username, :size => 20,
|
|
|
:autocomplete => "off" %>
|
|
|
</div>
|
|
|
|
|
|
<div class="boxline">
|
|
|
<%= f.label :subject, "Subject:", :class => "required" %>
|
|
|
<%= f.text_field :subject, :style => "width: 500px;" %>
|
|
|
<%= f.text_field :subject, :style => "width: 500px;",
|
|
|
:autocomplete => "off" %>
|
|
|
</div>
|
|
|
|
|
|
<div class="boxline">
|
|
|
<%= f.label :body, "Message:", :class => "required" %>
|
|
|
<%= f.text_area :body, :style => "width: 500px;", :rows => 5 %>
|
|
|
<%= f.text_area :body, :style => "width: 500px;", :rows => 5,
|
|
|
:autocomplete => "off" %>
|
|
|
</div>
|
|
|
|
|
|
<div class="boxline">
|
|
|
|
|
|
@@ -51,11 +51,13 @@ |
|
|
<%= error_messages_for @new_message %>
|
|
|
|
|
|
<div class="boxline">
|
|
|
<%= f.text_field :subject, :style => "width: 500px;" %>
|
|
|
<%= f.text_field :subject, :style => "width: 500px;",
|
|
|
:autocomplete => "off" %>
|
|
|
</div>
|
|
|
|
|
|
<div class="boxline">
|
|
|
<%= f.text_area :body, :style => "width: 500px;", :rows => 5 %>
|
|
|
<%= f.text_area :body, :style => "width: 500px;", :rows => 5,
|
|
|
:autocomplete => "off" %>
|
|
|
</div>
|
|
|
|
|
|
<div class="boxline">
|
|
|
|
|
|
@@ -36,11 +36,12 @@ |
|
|
<br />
|
|
|
|
|
|
<%= f.label :password, "Password:" %>
|
|
|
<%= f.password_field :password, :size => 30 %>
|
|
|
<%= f.password_field :password, :size => 30, :autocomplete => "off" %>
|
|
|
<br />
|
|
|
|
|
|
<%= f.label :password_confirmation, "Password (again):" %>
|
|
|
<%= f.password_field :password_confirmation, :size => 30 %>
|
|
|
<%= f.password_field :password_confirmation, :size => 30,
|
|
|
:autocomplete => "off" %>
|
|
|
<br />
|
|
|
</p>
|
|
|
|
|
|
|
|
|
@@ -9,15 +9,15 @@ |
|
|
</div>
|
|
|
<% elsif !f.object.id %>
|
|
|
<%= f.label :url, "URL:", :class => "required" %>
|
|
|
<%= f.text_field :url %>
|
|
|
<%= f.text_field :url, :autocomplete => "off" %>
|
|
|
<%= button_to_function "Fetch Title",
|
|
|
"Lobsters.fetchURLTitle($(this), $('#story_url'), $('#story_title'));" %>
|
|
|
<% end %>
|
|
|
</div>
|
|
|
|
|
|
<div class="boxline">
|
|
|
<%= f.label :title, "Title:", :class => "required" %>
|
|
|
<%= f.text_field :title, :maxlength => 100 %>
|
|
|
<%= f.text_field :title, :maxlength => 100, :autocomplete => "off" %>
|
|
|
</div>
|
|
|
|
|
|
<div class="boxline" style="margin-bottom: 2px;">
|
|
|
@@ -31,6 +31,7 @@ |
|
|
<div class="boxline">
|
|
|
<%= f.label :description, "Text:", :class => "required" %>
|
|
|
<%= f.text_area :description, :rows => 15,
|
|
|
:placeholder => "optional when submitting a link" %>
|
|
|
:placeholder => "optional when submitting a link",
|
|
|
:autocomplete => "off" %>
|
|
|
</div>
|
|
|
</div>
|
0 comments on commit
647fc5f