<%= affich_sumrelatif(@a, @b, @c, @d) %>
$ A = $
<%= f.input :reponseStudent, placeholder: "Valeur de A" %>
<%= f.input :a, as: :hidden, input_html: {value: @a} %>
<%= f.input :b, as: :hidden, input_html: {value: @b} %>
<%= f.input :c, as: :hidden, input_html: {value: @c} %>
<%= f.input :d, as: :hidden, input_html: {value: @d} %>
<% if @error %>
<%= link_to 'Modifier', edit_exo_sumrelatif_path(@exo_sumrelatif) %>
<% end %>