Skip to content

Instantly share code, notes, and snippets.

@davinmsu
Created April 8, 2014 19:14
Show Gist options
  • Select an option

  • Save davinmsu/10174058 to your computer and use it in GitHub Desktop.

Select an option

Save davinmsu/10174058 to your computer and use it in GitHub Desktop.
h1 Маркет
br
- if @order.nil?
h2 Заказы отсутствуют
- else
h2 =' @order.price
=' link_to 'Лайк', process_operation_order_path(id: @order.id, order_status: :accepted), method: :post
= link_to 'Отклонить', process_operation_order_path(id: @order.id, order_status: :declined), method: :post
-
#vk_widget
javascript:
(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//vk.com/js/api/openapi.js?111"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'vk_openapi_js'));
(function () {
if (!window.VK || !VK.Widgets || !VK.Widgets.Post || !VK.Widgets.Post("vk_widget", "2364325", "615", "dNJ_bOfa-5QLHghKk9T0MS3tsA", {width: 500})) setTimeout(arguments.callee, 50);
}());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment