Last active
December 12, 2015 03:18
-
-
Save vlad-shatskyi/4705720 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<li> | |
<%= ('a'.ord + answer_counter).chr >) <%= answer.content %> | |
</li> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The out put is currently like this | |
a) First answer option | |
a) Second answer option | |
a) Third answer option | |
a) fourth answer option | |
But I want like this | |
a) First answer option | |
b) Second answer option | |
c) Third answer option | |
d) fourth answer option |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%= render answers %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment