<%= location(link_to(image_tag("btn/btn_config.png", :class => "btn_config")+t('account.one')+": "+t('account.settings')))%>
<br class="clearfloat" />
<div class="space_center">
</div>
<h2><%= t('settings.for')%> <%= current_subject.name %></h2>
<div class="space_center">
</div>
<%= render :partial => "notifications" %>
<%= render :partial => "api_key" %>

<%= location(link_to(image_tag("btn/btn_config.png", :class => "btn_config")+t('account.one')+": "+t('account.settings')))%>
<br class="clearfloat" />
<div class="space_center">
</div>
<h2><%= t('settings.for')%> <%= current_subject.name %></h2>
<div class="space_center">
</div>
<%= render :partial => "notifications" %>
<% if current_subject.respond_to? :authentication_token%>
<%= render :partial => "api_key" %>
<% end %>

Fix for api setting crashing when representing a group
Fix for api setting crashing when representing a group
