From 7aa857f30d0be976c07060b8b357ccead7208b02 Mon Sep 17 00:00:00 2001 From: Daniela Feitosa Date: Sun, 13 Apr 2014 17:44:35 +0000 Subject: [PATCH] enhancements: visualization of suggested usernames --- app/views/account/_identifier_status.rhtml | 17 +++++++++-------- public/stylesheets/application.css | 5 +++++ test/functional/account_controller_test.rb | 2 +- 3 files changed, 15 insertions(+), 9 deletions(-) diff --git a/app/views/account/_identifier_status.rhtml b/app/views/account/_identifier_status.rhtml index f8d9510..487dcb0 100644 --- a/app/views/account/_identifier_status.rhtml +++ b/app/views/account/_identifier_status.rhtml @@ -1,17 +1,18 @@
+ + <%= @status %> <% if @suggested_usernames %> - <% @status += '
' + _('Available: ') %> - <% @suggested_usernames.each do |username| %> - <% @status += "" + username + ' ' %> - <% end %> +
+ <%= _('Available: ') %> + <% @suggested_usernames.each do |username| %> + <%= username %> + <% end %> +
<% end %> - - -

<%= @status %>