summaryrefslogtreecommitdiff
path: root/engines/support/app
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2014-04-18 10:29:07 +0200
committerAzul <azul@leap.se>2014-04-18 10:29:07 +0200
commit40dfa63aa6fc7aa3614f2a7952d088d8ff067f70 (patch)
tree3195c1abfd23d72cc3bb4317e275d414be3bd0fd /engines/support/app
parentfca9752315a0b46b52facf0e54c35214198fe8ae (diff)
minor fix: User#email_address not User#email
Diffstat (limited to 'engines/support/app')
-rw-r--r--engines/support/app/views/tickets/new.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/support/app/views/tickets/new.html.haml b/engines/support/app/views/tickets/new.html.haml
index e391499..8a89703 100644
--- a/engines/support/app/views/tickets/new.html.haml
+++ b/engines/support/app/views/tickets/new.html.haml
@@ -8,7 +8,7 @@
= simple_form_for @ticket, :validate => true, :html => {:class => 'form-horizontal'} do |f|
= hidden_ticket_fields
= f.input :subject
- = f.input :email, input_html: {value: user.email}
+ = f.input :email, input_html: {value: user.email_address}
= f.input :regarding_user, input_html: {value: user.login}
= f.simple_fields_for :comments, @comment do |c|
= c.input :body, :label => t(:description), :as => :text, :input_html => {:class => "full-width", :rows=> 5}