Hey there! I have a small piece of code and I'm wondering how to add a link to both the icon and text. I am calling an icon from a class.
Check out my code below:
<td class="cv-class_<%= index + 1 %>">
<a onClick="add_new_entry('<%= personnel_cv_data_type %>')">Add <%= @content_data['lable_add_'+personnel_cv_data_type] %></a>
</td>
This is the output generated by the code above:
<td class="cv-class_1">
<a onclick="add_new_entry('skills')">Add Skill</a>
</td>