@(userId: String, blocked: Boolean)(implicit ctx: Context) @title = @{ "Thanks for the report" } @moreJs = { @embedJs { $('button.report-block').one('click', function() { var $button = $(this); $button.find('span').text('Blocking...'); $.ajax({ url:$button.data('action'), method:'post', success: function() { $button.find('span').text('Blocked!'); } }); }); } } @base.layout(title = title, moreCss = cssTag("report.css"), moreJs = moreJs) {
The moderators will review it very soon, and take appropriate action.