1 2 3 4 5 6 7
- if email.valid? %li.pull-right %code= email - if params[:action] == 'edit' = link_to(user_email_alias_path(@user, email), :method => :delete) do %i.icon-remove .clearfix