' onclick='searchClicked();'/> <% if logged_in? -%> <%= link_to _('My Dashboard'), user_path(current_user) %> <%= link_to current_user.login, profile_path(current_user) %> <%= link_to _('Logout'), logout_path %> <% else -%> <%= _("%{login_link} %{signup_link}") % {:login_link => link_to(_('Login'), login_path), :signup_link => link_to(_('Sign-up'), signup_path)} %> <% end -%>