Skip to content

Instantly share code, notes, and snippets.

@roykolak
Created September 16, 2011 19:36
Show Gist options
  • Save roykolak/1222929 to your computer and use it in GitHub Desktop.
Save roykolak/1222929 to your computer and use it in GitHub Desktop.
.radio.specialist_radio
- check_for_errors(@user.errors['fittings.specialist']) do
= fitting.radio_button :specialist_id, specialist.id
= image_tag specialist.avatar.url, :class => 'avatar'
= fitting.label "specialist_id_#{specialist.id}", specialist.full_name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment