2015-01-15 14:09:27 +08:00
|
|
|
$("#polls_title").val("<%= @poll.polls_name%>");
|
|
|
|
$("#polls_description").val("<%= @poll.polls_description %>");
|
|
|
|
$("#polls_name_h").html("<%= @poll.polls_name %>");
|
|
|
|
$("#polls_description_p").html("<%= @poll.polls_description %>");
|
|
|
|
$("#polls_head_edit").hide();
|
|
|
|
$("#polls_head_show").show();
|