diff --git a/app/views/comments/_commentbox.html.erb b/app/views/comments/_commentbox.html.erb index eb57a42..5188e31 100644 --- a/app/views/comments/_commentbox.html.erb +++ b/app/views/comments/_commentbox.html.erb @@ -15,7 +15,7 @@ data-shortid="<%= comment.short_id if comment.persisted? %>">
<%= text_area_tag "comment", comment.comment, :rows => 5, - :autocomplete => "off", :disabled => !@user, + :disabled => !@user, :placeholder => (@user ? "" : t('.mustbelogged')) %> diff --git a/app/views/messages/index.html.erb b/app/views/messages/index.html.erb index bb6bef2..fa21464 100644 --- a/app/views/messages/index.html.erb +++ b/app/views/messages/index.html.erb @@ -73,20 +73,17 @@
<%= f.label :recipient_username, t('.tomsglabel'), :class => "required" %> - <%= f.text_field :recipient_username, :size => 20, - :autocomplete => "off" %> + <%= f.text_field :recipient_username, :size => 20 %>
<%= f.label :subject, t('.subject'), :class => "required" %> - <%= f.text_field :subject, :style => "width: 500px;", - :autocomplete => "off" %> + <%= f.text_field :subject, :style => "width: 500px;" %>
<%= f.label :body, t('.message'), :class => "required" %> - <%= f.text_area :body, :style => "width: 500px;", :rows => 5, - :autocomplete => "off" %> + <%= f.text_area :body, :style => "width: 500px;", :rows => 5 %>
diff --git a/app/views/messages/show.html.erb b/app/views/messages/show.html.erb index 8983200..c52d4d1 100644 --- a/app/views/messages/show.html.erb +++ b/app/views/messages/show.html.erb @@ -69,13 +69,11 @@ <%= error_messages_for @new_message %>
- <%= f.text_field :subject, :style => "width: 500px;", - :autocomplete => "off" %> + <%= f.text_field :subject, :style => "width: 500px;" %>
- <%= f.text_area :body, :style => "width: 500px;", :rows => 5, - :autocomplete => "off" %> + <%= f.text_area :body, :style => "width: 500px;", :rows => 5 %>
diff --git a/app/views/signup/invited.html.erb b/app/views/signup/invited.html.erb index 74fe4dc..f23f9d2 100644 --- a/app/views/signup/invited.html.erb +++ b/app/views/signup/invited.html.erb @@ -3,8 +3,7 @@ Create an Account
- <%= form_for @new_user, { :url => signup_path, - :autocomplete => "off" } do |f| %> + <%= form_for @new_user, { :url => signup_path } do |f| %> <%= hidden_field_tag "invitation_code", @invitation.code %>

diff --git a/app/views/stories/_form.html.erb b/app/views/stories/_form.html.erb index 6eb32bb..288d2d1 100644 --- a/app/views/stories/_form.html.erb +++ b/app/views/stories/_form.html.erb @@ -38,7 +38,7 @@

<%= f.label :title, t('.title'), :class => "required" %> - <%= f.text_field :title, :maxlength => 100, :autocomplete => "off" %> + <%= f.text_field :title, :maxlength => 100 %>
<% if f.object.id && !defined?(suggesting) %> @@ -101,8 +101,7 @@
<%= f.label :description, t('.text'), :class => "required" %> <%= f.text_area :description, :rows => 15, - :placeholder => t('.placeholdertext'), - :autocomplete => "off" %> + :placeholder => t('.placeholdertext') %>
diff --git a/app/views/stories/edit.html.erb b/app/views/stories/edit.html.erb index ff532e3..c66e217 100644 --- a/app/views/stories/edit.html.erb +++ b/app/views/stories/edit.html.erb @@ -27,7 +27,7 @@
<%= f.label :moderation_reason, t('.modreason'), :class => "required" %> - <%= f.text_field :moderation_reason, :autocomplete => "off" %> + <%= f.text_field :moderation_reason %>
<% end %>