Skip to content
Browse files

Rohit Added default first checked to the list of employers

  • Loading branch information...
1 parent ecec60c commit 9ad118069bba342c3d4a1084cf846758088242d8 @rohitggarg rohitggarg committed Mar 12, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 app/views/facebook_share_widget/facebook/_personal_data_list.html.haml
View
4 app/views/facebook_share_widget/facebook/_personal_data_list.html.haml
@@ -1,9 +1,9 @@
= hidden_field_tag 'personal_data_type', params[:personal_data_type]
%table
- - @personal_data_results.each do |personal_data|
+ - @personal_data_results.each_with_index do |personal_data, index|
- personal_data_id = personal_data["id"]
%tr
%td{width: '25px'}
- = radio_button_tag 'personal_dataId', personal_data_id
+ = radio_button_tag 'personal_dataId', personal_data_id, index == 0
%td
= label_tag "personal_dataId_#{personal_data_id}", personal_data["name"]

0 comments on commit 9ad1180

Please sign in to comment.
Something went wrong with that request. Please try again.