<%=t('chat.settings.title')%>
<%= form_tag(:controller => "Xmpp", :action => "updateSettings", :method => "get") do %>
<% checked = current_user.chat_enabled %>
<%= check_box_tag 'enable_chat', true, checked %>
<%= label_tag(:enable_chat, t('chat.settings.checkbox')) %>
<%= hidden_field_tag :settings_section, :chat %>
<%= submit_tag t('chat.settings.update'), :class => "button" %>
<% end %>