_rating_button.html.erb 375 Bytes
<% button_bar do %>
  <% if logged_in? %>
    <%= button(:new,_("Rate %s ") % _(profile.class.name),
              {:controller => "organization_ratings_plugin_profile",
               :action => "new_rating"}) %>
  <% else %>
     <%= button(:login,_("Log in") , {:controller => 'account',
                                      :action => 'login'}) %>
  <% end %>
<% end %>