Files
grecia/app/components/admin/poll/questions/table_actions_component.html.erb
Javi Martín 8997ed316c Rename variables describing poll options as answers
Since we've renamed the class to `Option`, having variables, methods and
texts refering to it as `answer` was confusing.
2024-06-13 19:13:05 +02:00

4 lines
163 B
Plaintext

<%= render Admin::AllowedTableActionsComponent.new(question) do |actions| %>
<%= actions.action(:options, text: t("admin.polls.show.edit_answers")) %>
<% end %>