<%=link_to_function(image_tag("tr8n/close.gif"), "tr8nLightbox.hide();") %>
Language Details
<%= form_for(@language, :as => :language, :url => {:action => :update}, :html => {:id => 'tr8n_form', :method => :post, :class => "tr8n"}) do |form| %> <%= form.hidden_field :id %> <%= hidden_field_tag :source_url, request.env['HTTP_REFERER'] %>
Locale: <%= form.text_field :locale, :style=>"width:99%;" %>
English Name: <%= form.text_field :english_name, :style=>"width:99%;" %>
Native Name: <%= form.text_field :native_name, :style=>"width:99%;" %>
Right to Left: <%= form.check_box :right_to_left, :style=>"width:20px;" %>
Enabled: <%= form.check_box :enabled, :style=>"width:20px;" %>
Featured Index: <%= form.text_field :featured_index %>
Google Key: <%= form.text_field :google_key %>
Facebook Key: <%= form.text_field :facebook_key %>
Note: providing google key/locale will enable google suggestions for that language.
<% end %>
<%= render :partial => "/tr8n/admin/common/lightbox_buttons" %>