Commit 775b11e9328f5f558b7291169bd98ec52d687747
1 parent
653c0de3
Exists in
master
and in
1 other branch
Fill password field for issue trackers
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
app/views/apps/_issue_tracker_fields.html.haml
... | ... | @@ -18,7 +18,7 @@ |
18 | 18 | - tracker::Fields.each do |field, field_info| |
19 | 19 | = w.label field, field_info[:label] || field.to_s.titleize |
20 | 20 | - field_type = field == :password ? :password_field : :text_field |
21 | - = w.send field_type, field, :placeholder => field_info[:placeholder] | |
21 | + = w.send field_type, field, :placeholder => field_info[:placeholder], :value => w.object.send(field) | |
22 | 22 | |
23 | 23 | .image_preloader |
24 | 24 | - (IssueTracker.subclasses.map{|t| t::Label } << 'none').each do |tracker| | ... | ... |
app/views/users/_fields.html.haml