diff --git a/app/views/apps/_issue_tracker_fields.html.haml b/app/views/apps/_issue_tracker_fields.html.haml index a78c980..c80cbe1 100644 --- a/app/views/apps/_issue_tracker_fields.html.haml +++ b/app/views/apps/_issue_tracker_fields.html.haml @@ -18,7 +18,7 @@ - tracker::Fields.each do |field, field_info| = w.label field, field_info[:label] || field.to_s.titleize - field_type = field == :password ? :password_field : :text_field - = w.send field_type, field, :placeholder => field_info[:placeholder] + = w.send field_type, field, :placeholder => field_info[:placeholder], :value => w.object.send(field) .image_preloader - (IssueTracker.subclasses.map{|t| t::Label } << 'none').each do |tracker| diff --git a/app/views/users/_fields.html.haml b/app/views/users/_fields.html.haml index 38f6bcd..7c0d2a7 100644 --- a/app/views/users/_fields.html.haml +++ b/app/views/users/_fields.html.haml @@ -27,7 +27,7 @@ .required = f.label :password - = f.password_field :password + = f.password_field :password, :autocomplete => "off" .required = f.label :password_confirmation -- libgit2 0.21.2