<% buttons = enabled_like_buttons(@settings) %>
<%= l(:label_general) %>

<%= label_tag('settings[location]', l(:label_location)) %> <%= select_tag('settings[location]', options_for_select([[l(:label_sidebar), 'sidebar'], [l(:label_main_area), 'mainarea']], @settings[:location]), :onchange => 'toggle_like_settings(this);') %>

<%= label_tag('settings[facebook]', l(:label_facebook)) %> <%= check_box_tag('settings[facebook]', 1, @settings[:facebook], :onclick => 'toggle_like_settings(this);') %>

<%= label_tag('settings[twitter]', l(:label_twitter)) %> <%= check_box_tag('settings[twitter]', 1, @settings[:twitter], :onclick => 'toggle_like_settings(this);') %>

<%= label_tag('settings[google]', l(:label_google_plus)) %> <%= check_box_tag('settings[google]', 1, @settings[:google], :onclick => 'toggle_like_settings(this);') %>

<%= l(:label_facebook) %>

<%= label_tag('settings[show_faces]', l(:label_show_faces)) %> <%= check_box_tag('settings[show_faces]', 1, @settings[:show_faces]) %>

<%= label_tag('settings[width]', l(:label_width)) %> <%= text_field_tag('settings[width]', @settings[:width], :size => 5) %>

<%= label_tag('settings[action]', l(:label_verb_to_display)) %> <%= select_tag('settings[action]', options_for_select([[l(:label_like), 'like'], [l(:label_recommend), 'recommend']], @settings[:action])) %>

<%= label_tag('settings[colorscheme]', l(:label_color_scheme)) %> <%= select_tag('settings[colorscheme]', options_for_select([[l(:label_light), 'light'], [l(:label_dark), 'dark']], @settings[:colorscheme])) %>

<%= l(:label_twitter) %>

<%= label_tag('settings[tweet_width]', l(:label_width)) %> <%= text_field_tag('settings[tweet_width]', @settings[:tweet_width], :size => 5) %>

<%= l(:label_google_plus) %>

<%= label_tag('settings[plus_width]', l(:label_width)) %> <%= text_field_tag('settings[plus_width]', @settings[:plus_width], :size => 5) %>

<% content_for(:header_tags) do %> <% if defined? observe_field %> <%= javascript_include_tag('like_prototype', :plugin => 'like') %> <% else %> <%= javascript_include_tag('like_jquery', :plugin => 'like') %> <% end %> <% end %>