{"id":871,"date":"2020-05-22T01:48:08","date_gmt":"2020-05-22T01:48:08","guid":{"rendered":"https:\/\/tau-platform.ru\/?p=871"},"modified":"2020-05-22T02:11:31","modified_gmt":"2020-05-22T02:11:31","slug":"rhomobile-i-onsenui","status":"publish","type":"post","link":"https:\/\/tau-platform.ru\/ru\/company\/blog\/rhomobile-i-onsenui\/","title":{"rendered":"RhoMobile \u0438 OnsenUI"},"content":{"rendered":"<h2><strong><span style=\"font-size: 18pt;\">\u0412\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u0435<\/span><\/strong><\/h2>\n<p>\u0417\u0430\u043a\u0430\u0437\u0447\u0438\u043a \u0437\u0430\u0447\u0430\u0441\u0442\u0443\u044e \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0432 \u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f\u0445 \u043a \u0440\u0430\u0437\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u043c\u043e\u043c\u0443 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u043c\u0443 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0443\u0441\u043b\u043e\u0432\u0438\u0435 look and feel as native applications. \u042d\u0442\u043e \u0443\u0441\u043b\u043e\u0432\u0438\u0435 \u043c\u043e\u0436\u043d\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u043f\u0440\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u0433\u043e \u0433\u0438\u0431\u0440\u0438\u0434\u043d\u043e\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f. \u0414\u043b\u044f \u043f\u0440\u0438\u0434\u0430\u043d\u0438\u044f \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u043c\u0443 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044e Rhodes \u043d\u0443\u0436\u043d\u043e\u0433\u043e \u0432\u043d\u0435\u0448\u043d\u0435\u0433\u043e \u0432\u0438\u0434\u0430 \u0438 \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c CSS\/JS \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0438, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, OnsenUI \u0438\u043b\u0438 Framework7.<\/p>\n<p>\u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043c\u044b \u043f\u043e\u043a\u0430\u0436\u0435\u043c, \u043a\u0430\u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c OnsenUI \u0432 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 Rhodes \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u043d\u0435\u0441\u043b\u043e\u0436\u043d\u043e\u0433\u043e ruby-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043c\u043e\u0436\u043d\u043e \u0432\u0435\u0441\u0442\u0438 \u0441\u043f\u0438\u0441\u043e\u043a \u0442\u043e\u0432\u0430\u0440\u043e\u0432.<\/p>\n<h3><span style=\"font-size: 14pt;\"><strong>\u0428\u0430\u0433 1. \u0413\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f \u0448\u0430\u0431\u043b\u043e\u043d\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f.<\/strong><\/span><\/h3>\n<p>\u0412\u044b\u043f\u043e\u043b\u043d\u0438\u043c \u0438\u0437 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438<\/p>\n<p><code>&gt; rhodes app productApp<\/code><\/p>\n<p>&nbsp;<\/p>\n<p>\u041f\u0435\u0440\u0435\u0439\u0434\u0435\u043c \u0432 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e \u043d\u0430\u0448\u0435\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043c \u043d\u0430\u0448\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0432 RhoSimulator:<\/p>\n<p><code>&gt; cd productApp<\/code><br \/>\n<code>&gt; rake run:rhosimulator<\/code><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-880 size-full\" src=\"https:\/\/tau-platform.ru\/wp-content\/uploads\/2020\/05\/image8.png\" alt=\"\" width=\"432\" height=\"614\" srcset=\"https:\/\/tau-platform.ru\/wp-content\/uploads\/2020\/05\/image8.png 432w, https:\/\/tau-platform.ru\/wp-content\/uploads\/2020\/05\/image8-211x300.png 211w\" sizes=\"auto, (max-width: 432px) 100vw, 432px\" \/><\/p>\n<p>\u041f\u043e\u043a\u0430 \u043e\u043d\u043e \u043d\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e \u0438 \u043d\u0435 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442 \u043d\u0438\u0447\u0435\u0433\u043e \u043a\u0440\u043e\u043c\u0435 \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b.<\/p>\n<p>\u0417\u0430\u043a\u0440\u043e\u0435\u043c RhoSimulator.<\/p>\n<h3><strong><span style=\"font-size: 14pt;\">\u0428\u0430\u0433 2. \u0413\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f \u043c\u043e\u0434\u0435\u043b\u0438 Product<\/span><\/strong><\/h3>\n<p>\u0412\u044b\u043f\u043e\u043b\u043d\u0438\u043c \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u0434\u043b\u044f \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 \u043c\u043e\u0434\u0435\u043b\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f:<\/p>\n<p><code>&gt; rhodes model Product name,price<\/code><\/p>\n<p>&nbsp;<\/p>\n<p>\u042d\u0442\u043e \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0441\u043e\u0437\u0434\u0430\u043b\u0430 \u0432\u0435\u0441\u044c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0439 \u043a\u043e\u0434 \u0434\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0441\u043f\u0438\u0441\u043a\u0430 \u041f\u0440\u043e\u0434\u0443\u043a\u0442\u043e\u0432, \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0438 \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u041f\u0440\u043e\u0434\u0443\u043a\u0442\u043e\u0432.<\/p>\n<p>\u0418\u0437\u043c\u0435\u043d\u0438\u043c \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u0443\u044e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 &#8212; \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 \u043f\u0435\u0440\u0435\u0445\u043e\u0434 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u0442\u043e\u0432\u0430\u0440\u043e\u0432. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u043c \u043a\u043e\u0434 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u043d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439:<\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">&lt;div class=\"container-fluid\"&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0&lt;div class=\"row\"&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0&lt;div class=\"list-group\"&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0&lt;a href=\"&lt;%= url_for(:controller =&gt; Product, :action =&gt; :index) %&gt;\" class=\"list-group-item\"&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Products<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&lt;span class=\"glyphicon glyphicon-chevron-right pull-right\" aria-hidden=\"true\"&gt;&lt;\/span&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0&lt;\/a&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0&lt;\/div&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0&lt;\/div&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">&lt;\/div&gt;<\/span><\/code><\/span><\/p>\n<p>\u0417\u0430\u043f\u0443\u0441\u0442\u0438\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0432 RhoSimulator<\/p>\n<p><code>&gt; rake run:rhosimulator<\/code><\/p>\n<p>&nbsp;<\/p>\n<p>\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0430 \u0432\u0441\u0435 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u043d\u0430\u0448\u0435\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043c \u0438\u0445 \u0440\u0430\u0431\u043e\u0442\u043e\u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u044c.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-876\" src=\"https:\/\/tau-platform.ru\/wp-content\/uploads\/2020\/05\/image4-211x300.png\" alt=\"\" width=\"211\" height=\"300\" srcset=\"https:\/\/tau-platform.ru\/wp-content\/uploads\/2020\/05\/image4-211x300.png 211w, https:\/\/tau-platform.ru\/wp-content\/uploads\/2020\/05\/image4.png 432w\" sizes=\"auto, (max-width: 211px) 100vw, 211px\" \/><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-884\" src=\"https:\/\/tau-platform.ru\/wp-content\/uploads\/2020\/05\/image12-211x300.png\" alt=\"\" width=\"211\" height=\"300\" srcset=\"https:\/\/tau-platform.ru\/wp-content\/uploads\/2020\/05\/image12-211x300.png 211w, https:\/\/tau-platform.ru\/wp-content\/uploads\/2020\/05\/image12.png 432w\" sizes=\"auto, (max-width: 211px) 100vw, 211px\" \/><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-877\" src=\"https:\/\/tau-platform.ru\/wp-content\/uploads\/2020\/05\/image5-211x300.png\" alt=\"\" width=\"211\" height=\"300\" srcset=\"https:\/\/tau-platform.ru\/wp-content\/uploads\/2020\/05\/image5-211x300.png 211w, https:\/\/tau-platform.ru\/wp-content\/uploads\/2020\/05\/image5.png 432w\" sizes=\"auto, (max-width: 211px) 100vw, 211px\" \/><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-883\" src=\"https:\/\/tau-platform.ru\/wp-content\/uploads\/2020\/05\/image11-211x300.png\" alt=\"\" width=\"211\" height=\"300\" srcset=\"https:\/\/tau-platform.ru\/wp-content\/uploads\/2020\/05\/image11-211x300.png 211w, https:\/\/tau-platform.ru\/wp-content\/uploads\/2020\/05\/image11.png 432w\" sizes=\"auto, (max-width: 211px) 100vw, 211px\" \/><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-873\" src=\"https:\/\/tau-platform.ru\/wp-content\/uploads\/2020\/05\/image1-211x300.png\" alt=\"\" width=\"211\" height=\"300\" srcset=\"https:\/\/tau-platform.ru\/wp-content\/uploads\/2020\/05\/image1-211x300.png 211w, https:\/\/tau-platform.ru\/wp-content\/uploads\/2020\/05\/image1.png 432w\" sizes=\"auto, (max-width: 211px) 100vw, 211px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>\u041f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0432\u043f\u043e\u043b\u043d\u0435 \u0434\u043e\u0441\u0442\u043e\u0439\u043d\u043e, \u043d\u043e \u0437\u0430\u043a\u0430\u0437\u0447\u0438\u043a \u0445\u043e\u0447\u0435\u0442 native look and feel.<br \/>\n\u041d\u0435 \u0437\u0430\u043a\u0440\u044b\u0432\u0430\u0439\u0442\u0435 RhoSimulator.<\/p>\n<h3><strong><span style=\"font-size: 14pt;\">\u0428\u0430\u0433 3. \u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c OnsenUI<\/span><\/strong><\/h3>\n<p>\u0423\u0434\u0430\u043b\u044f\u0435\u043c \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0443 Bootstrap \u0438 jQuery \u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0443 \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432 OnsenUI. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043e\u0442\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0443\u0435\u043c \u0444\u0430\u0439\u043b layout.erb<\/p>\n<p>&nbsp;<\/p>\n<p><code><span style=\"font-weight: 400;\"><span style=\"font-size: 10pt;\">&lt;!-- OnsenUI --&gt;<\/span><\/span><\/code><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">&lt;link rel=\"stylesheet\" href=\"https:\/\/unpkg.com\/onsenui\/css\/onsenui.css\"&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">&lt;link rel=\"stylesheet\" href=\"https:\/\/unpkg.com\/onsenui\/css\/onsen-css-components.min.css\"&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">&lt;script src=\"https:\/\/unpkg.com\/onsenui\/js\/onsenui.min.js\"&gt;&lt;\/script&gt;<\/span><\/code><\/span><\/p>\n<p>&nbsp;<\/p>\n<p>\u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u043c\u044b\u0439 \u043d\u0430\u0431\u043e\u0440 \u0438\u043a\u043e\u043d\u043e\u043a:<\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">&lt;!-- Ionicons --&gt;<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><span style=\"font-weight: 400;\">&lt;script src=\"<\/span><a href=\"https:\/\/unpkg.com\/ionicons@5.0.0\/dist\/ionicons.js\"><span style=\"font-weight: 400;\">https:\/\/unpkg.com\/ionicons@5.0.0\/dist\/ionicons.js<\/span><\/a><span style=\"font-weight: 400;\">\"&gt;&lt;\/script&gt;<\/span><\/code><\/span><\/p>\n<p>&nbsp;<\/p>\n<h3><strong><span style=\"font-size: 14pt;\">\u0428\u0430\u0433 4. \u041d\u0430\u0447\u0430\u043b\u044c\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0441 OnsenUI<\/span><\/strong><\/h3>\n<p>\u0417\u0430\u043c\u0435\u043d\u0438\u043c \u043a\u043e\u0434 \u0432 \u0444\u0430\u0439\u043b\u0435 \/app\/index.erb \u043d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439:<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">&lt;ons-page id=\"homePage\"&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0&lt;ons-toolbar&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0&lt;div class=\"center\"&gt;Products App&lt;\/div&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0&lt;\/ons-toolbar&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0&lt;ons-list&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0&lt;ons-list-item modifier=\"tappable chevron\" onclick=\"window.location = '&lt;%= url_for(:controller =&gt; Product, :action =&gt; :index) %&gt;'\"&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0Product<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0&lt;\/ons-list-item&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0&lt;\/ons-list&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">&lt;\/ons-page&gt;<\/span><\/code><\/span><\/p>\n<p>&nbsp;<\/p>\n<p>\u041e\u0431\u043d\u043e\u0432\u0438\u043c \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u0432 RhoSimulator, \u043d\u0430\u0436\u0430\u0432 \u043d\u0430 \u043a\u043d\u043e\u043f\u043a\u0443 refresh \u0432\u043d\u0438\u0437\u0443.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-875 size-full\" src=\"https:\/\/tau-platform.ru\/wp-content\/uploads\/2020\/05\/image3.png\" alt=\"\" width=\"432\" height=\"614\" srcset=\"https:\/\/tau-platform.ru\/wp-content\/uploads\/2020\/05\/image3.png 432w, https:\/\/tau-platform.ru\/wp-content\/uploads\/2020\/05\/image3-211x300.png 211w\" sizes=\"auto, (max-width: 432px) 100vw, 432px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>\u0421\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u0441\u0442\u0430\u043b\u0430 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u0433\u043e\u0440\u0430\u0437\u0434\u043e \u0431\u043b\u0438\u0436\u0435 \u043a native look and feel. \u0417\u0430\u0434\u0435\u0439\u0441\u0442\u0432\u0443\u0435\u043c OnsenUI \u043d\u0430 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0445 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f.<\/p>\n<p>&nbsp;<\/p>\n<h3><strong><span style=\"font-size: 14pt;\">\u0428\u0430\u0433 5. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 OnsenUI \u043d\u0430 \u0438\u043d\u0434\u0435\u043a\u0441\u043d\u043e\u0439 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 Product<\/span><\/strong><\/h3>\n<p>\u0417\u0430\u043c\u0435\u043d\u0438\u0442\u0435 \u043a\u043e\u0434 \u0432 \u0444\u0430\u0439\u043b\u0435 \/app\/Product\/index.erb \u043d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439:<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">&lt;ons-page id=\"productPage\"&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0&lt;ons-toolbar&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0&lt;div class=\"left\"&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0&lt;ons-back-button onclick=\"window.location='&lt;%= Rho::Application.startURI %&gt;'\"&gt;&lt;\/ons-back-button&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0&lt;\/div&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0&lt;div class=\"center\"&gt;Products&lt;\/div&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0&lt;div class=\"right\"&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0&lt;ons-toolbar-button onclick=\"window.location='&lt;%= url_for :action =&gt; :new %&gt;'\"&gt;New&lt;\/ons-toolbar-button&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0&lt;\/div&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0&lt;\/ons-toolbar&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0&lt;ons-list&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0&lt;% @products.each do |product| %&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0&lt;ons-list-item modifier=\"tappable chevron\" onclick=\"window.location = '&lt;%= url_for :action =&gt; :show, :id =&gt; product.object %&gt;'\"&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&lt;%= product.name %&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0&lt;\/ons-list-item&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0&lt;% end %&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0&lt;\/ons-list&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">&lt;\/ons-page&gt;<\/span><\/code><\/span><\/p>\n<p>&nbsp;<\/p>\n<p>\u041e\u0431\u043d\u043e\u0432\u0438\u043c \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u0432 RhoSimulator<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-882 size-full\" src=\"https:\/\/tau-platform.ru\/wp-content\/uploads\/2020\/05\/image10.png\" alt=\"\" width=\"432\" height=\"614\" srcset=\"https:\/\/tau-platform.ru\/wp-content\/uploads\/2020\/05\/image10.png 432w, https:\/\/tau-platform.ru\/wp-content\/uploads\/2020\/05\/image10-211x300.png 211w\" sizes=\"auto, (max-width: 432px) 100vw, 432px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3><strong><span style=\"font-size: 14pt;\">\u0428\u0430\u0433 6. \u0410\u0434\u0430\u043f\u0442\u0438\u0440\u0443\u0435\u043c \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043d\u043e\u0432\u043e\u0433\u043e \u0442\u043e\u0432\u0430\u0440\u0430<\/span><\/strong><\/h3>\n<p>\u0417\u0430\u043c\u0435\u043d\u0438\u043c \u043a\u043e\u0434 \u0432 \u0444\u0430\u0439\u043b\u0435 \/app\/Product\/new.erb \u043d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439:<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">&lt;ons-page id=\"newProductPage\"&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0&lt;ons-toolbar&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0&lt;div class=\"left\"&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0&lt;ons-toolbar-button onclick=\"window.location='&lt;%= url_for :action =&gt; :index %&gt;'\"&gt;Cancel&lt;\/ons-toolbar-button&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0&lt;\/div&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0&lt;div class=\"center\"&gt;New Product&lt;\/div&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0&lt;\/ons-toolbar&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0&lt;section style=\"width: 90%; margin-top: 1em;margin: auto;\"&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0&lt;form method=\"POST\" action=\"&lt;%= url_for :action =&gt; :create %&gt;\"&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0&lt;input type=\"hidden\" name=\"id\" value=\"&lt;%= @product.object %&gt;\"\/&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0&lt;div&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&lt;label for=\"product[title]\"&gt;Name&lt;\/label&gt;&lt;br\/&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&lt;ons-input type=\"text\" modifier=\"underbar\" id=\"product[name]\" name=\"product[name]\" placeholder=\"product name\"&gt;&lt;\/ons-input&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0&lt;\/div&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0&lt;br\/&gt;&lt;br\/&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0&lt;div&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&lt;label for=\"product[price]\"&gt;Price&lt;\/label&gt;&lt;br\/&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&lt;ons-input type=\"text\" modifier=\"underbar\" id=\"product[price]\" name=\"product[price]\" placeholder=\"product price\"&gt;&lt;\/ons-input&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0&lt;\/div&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0&lt;br\/&gt;&lt;br\/&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0&lt;ons-button type=\"submit\" modifier=\"large\" onclick=\"document.getElementsByTagName('form')[0].submit()\"&gt;Submit<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&lt;ons-button&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0&lt;\/form&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0&lt;\/section&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">&lt;\/ons-page&gt;<\/span><\/code><\/span><\/p>\n<p>&nbsp;<\/p>\n<p>\u041e\u0431\u043d\u043e\u0432\u0438\u043c \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u0432 RhoSimulator<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-881 size-full\" src=\"https:\/\/tau-platform.ru\/wp-content\/uploads\/2020\/05\/image9.png\" alt=\"\" width=\"432\" height=\"614\" srcset=\"https:\/\/tau-platform.ru\/wp-content\/uploads\/2020\/05\/image9.png 432w, https:\/\/tau-platform.ru\/wp-content\/uploads\/2020\/05\/image9-211x300.png 211w\" sizes=\"auto, (max-width: 432px) 100vw, 432px\" \/><\/p>\n<p>\u0417\u0430\u043f\u043e\u043b\u043d\u0438\u043c \u043f\u043e\u043b\u044f \u0438 \u043d\u0430\u0436\u043c\u0435\u043c Submit<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-879 size-full\" src=\"https:\/\/tau-platform.ru\/wp-content\/uploads\/2020\/05\/image7.png\" alt=\"\" width=\"432\" height=\"614\" srcset=\"https:\/\/tau-platform.ru\/wp-content\/uploads\/2020\/05\/image7.png 432w, https:\/\/tau-platform.ru\/wp-content\/uploads\/2020\/05\/image7-211x300.png 211w\" sizes=\"auto, (max-width: 432px) 100vw, 432px\" \/><\/p>\n<p>\u041d\u043e\u0432\u044b\u0439 \u0442\u043e\u0432\u0430\u0440 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044f \u0432 \u0441\u043f\u0438\u0441\u043a\u0435 \u0442\u043e\u0432\u0430\u0440\u043e\u0432.<\/p>\n<p>&nbsp;<\/p>\n<h3><strong><span style=\"font-size: 14pt;\">\u0428\u0430\u0433 7. \u0410\u0434\u0430\u043f\u0442\u0430\u0446\u0438\u044f show.erb<\/span><\/strong><\/h3>\n<p>\u0417\u0430\u043c\u0435\u043d\u0438\u043c \u043a\u043e\u0434 \u0432 \u0444\u0430\u0439\u043b\u0435 \/app\/Product\/show.erb \u043d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439:<\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">&lt;ons-page id=\"showProductPage\"&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0&lt;ons-toolbar&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0&lt;div class=\"left\"&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&lt;ons-back-button onclick=\"window.location='&lt;%= url_for :action =&gt; :index %&gt;'\"&gt;&lt;\/ons-back-button&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0&lt;\/div&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0&lt;div class=\"center\"&gt;&lt;%= @product.title %&gt;&lt;\/div&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0&lt;div class=\"right\"&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&lt;ons-toolbar-button onclick=\"window.location='&lt;%= url_for :action =&gt; :edit, :id =&gt; @product.object %&gt;'\"&gt;Edit&lt;\/ons-toolbar-button&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0&lt;\/div&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0&lt;\/ons-toolbar&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0&lt;ons-list&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0&lt;ons-list-item&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&lt;div class=\"center\"&gt;Name&lt;\/div&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&lt;div class=\"right\"&gt;&lt;%= @product.name %&gt;&lt;\/div&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0&lt;\/ons-list-item&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0&lt;ons-list-item&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&lt;div class=\"center\"&gt;Price&lt;\/div&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&lt;div class=\"right\"&gt;&lt;%= @product.price %&gt;&lt;\/div&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0&lt;\/ons-list-item&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0&lt;\/ons-list&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">&lt;\/ons-page&gt;<\/span><\/code><\/span><\/p>\n<p>&nbsp;<\/p>\n<p>\u041e\u0431\u043d\u043e\u0432\u0438\u043c \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u0432 RhoSimulator<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-878 size-full\" src=\"https:\/\/tau-platform.ru\/wp-content\/uploads\/2020\/05\/image6.png\" alt=\"\" width=\"432\" height=\"614\" srcset=\"https:\/\/tau-platform.ru\/wp-content\/uploads\/2020\/05\/image6.png 432w, https:\/\/tau-platform.ru\/wp-content\/uploads\/2020\/05\/image6-211x300.png 211w\" sizes=\"auto, (max-width: 432px) 100vw, 432px\" \/><\/p>\n<h3><strong><span style=\"font-size: 14pt;\">\u0428\u0430\u0433 8. \u0410\u0434\u0430\u043f\u0442\u0430\u0446\u0438\u044f edit.erb<\/span><\/strong><\/h3>\n<p>\u0417\u0430\u043c\u0435\u043d\u0438\u043c \u043a\u043e\u0434 \u0432 \u0444\u0430\u0439\u043b\u0435 \/app\/Product\/edit.erb \u043d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439:<\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">&lt;ons-page id=\"editProductPage\"&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0&lt;ons-toolbar&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0&lt;div class=\"left\"&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0&lt;ons-back-button onclick=\"window.location='&lt;%= url_for :action =&gt; :show, :id =&gt; @product.object %&gt;'\"&gt;&lt;\/ons-back-button&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0&lt;\/div&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0&lt;div class=\"center\"&gt;Edit &lt;%= @product.title %&gt;&lt;\/div&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0&lt;div class=\"right\"&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0&lt;ons-toolbar-button onclick=\"window.location='&lt;%= url_for :action =&gt; :delete, :id =&gt; @product.object %&gt;'\"&gt;Delete&lt;\/ons-toolbar-button&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0&lt;\/div&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0&lt;\/ons-toolbar&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0&lt;section style=\"width: 90%; margin-top: 1em;margin: auto;\"&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0&lt;form method=\"POST\" action=\"&lt;%= url_for :action =&gt; :update %&gt;\"&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0&lt;input type=\"hidden\" name=\"id\" value=\"&lt;%= @product.object %&gt;\"\/&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0&lt;div&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&lt;label for=\"foo[title]\"&gt;Title&lt;\/label&gt;&lt;br\/&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&lt;ons-input type=\"text\" modifier=\"underbar\" id=\"product[name]\" name=\"product[name]\" placeholder=\"name\" value=\"&lt;%= @product.name %&gt;\" &gt;&lt;\/ons-input&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0&lt;\/div&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0&lt;br\/&gt;&lt;br\/&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0&lt;div&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&lt;label for=\"foo[price]\"&gt; Price&lt;\/label&gt;&lt;br\/&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&lt;ons-input type=\"text\" modifier=\"underbar\" id=\"product[price]\" name=\"product[price]\" placeholder=\"price\" value=\"&lt;%= @product.price %&gt;\" &gt;&lt;\/ons-input&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0&lt;\/div&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0&lt;br\/&gt;&lt;br\/&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0&lt;ons-button type=\"submit\" modifier=\"large\" onclick=\"document.getElementsByTagName('form')[0].submit()\"&gt;Update<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&lt;ons-button&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0&lt;\/form&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">\u00a0&lt;\/section&gt;<\/span><\/code><\/span><\/p>\n<p><span style=\"font-size: 10pt;\"><code><span style=\"font-weight: 400;\">&lt;\/ons-page&gt;<\/span><\/code><\/span><\/p>\n<section style=\"width: 90%; margin-top: 1em; margin: auto;\">\n<form action=\"&lt;%= url_for :action =&gt; :update %&gt;\" method=\"POST\">&nbsp;<\/p>\n<\/form>\n<\/section>\n<p>\u041e\u0431\u043d\u043e\u0432\u0438\u043c \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u0432 RhoSimulator<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-874 size-full\" src=\"https:\/\/tau-platform.ru\/wp-content\/uploads\/2020\/05\/image2.png\" alt=\"\" width=\"432\" height=\"614\" srcset=\"https:\/\/tau-platform.ru\/wp-content\/uploads\/2020\/05\/image2.png 432w, https:\/\/tau-platform.ru\/wp-content\/uploads\/2020\/05\/image2-211x300.png 211w\" sizes=\"auto, (max-width: 432px) 100vw, 432px\" \/><\/p>\n<h3><strong><span style=\"font-size: 14pt;\">\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/span><\/strong><\/h3>\n<p>\u041c\u044b \u0437\u0430\u043a\u043e\u043d\u0447\u0438\u043b\u0438 \u0430\u0434\u0430\u043f\u0442\u0430\u0446\u0438\u044e Rhodes \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043a native look and feel \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f CSS\/JS \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a OnsenUI. \u0427\u0442\u043e\u0431\u044b \u043d\u0435 \u0434\u0435\u043b\u0430\u0442\u044c \u043f\u0440\u0438\u043c\u0435\u0440 \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u0441\u043b\u043e\u0436\u043d\u044b\u043c, \u043c\u044b \u043d\u0435 \u0441\u0442\u0430\u043b\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043c\u043d\u043e\u0433\u0438\u0445 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0435\u0439 \u043a\u0430\u043a Rhodes, \u0442\u0430\u043a \u0438 OnsenUI, \u043d\u043e \u0431\u044b\u0441\u0442\u0440\u0430\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u043c\u043d\u043e\u0433\u043e\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435\u043d\u043d\u044b\u0445 \u0441\u043b\u043e\u0436\u043d\u044b\u0445 Rhodes-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 enterprise-\u0443\u0440\u043e\u0432\u043d\u044f \u0441 native look and feel \u0430\u043f\u0440\u043e\u0431\u0438\u0440\u043e\u0432\u0430\u043d\u0430 \u0438 \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0442\u044c\u0441\u044f \u0432 \u0448\u0438\u0440\u043e\u043a\u043e\u0439 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0435.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0412\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u0435 \u0417\u0430\u043a\u0430\u0437\u0447\u0438\u043a \u0437\u0430\u0447\u0430\u0441\u0442\u0443\u044e \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0432 \u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f\u0445 \u043a \u0440\u0430\u0437\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u043c\u043e\u043c\u0443 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u043c\u0443 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0443\u0441\u043b\u043e\u0432\u0438\u0435 look and feel as native applications. \u042d\u0442\u043e \u0443\u0441\u043b\u043e\u0432\u0438\u0435 \u043c\u043e\u0436\u043d\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u043f\u0440\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u0433\u043e \u0433\u0438\u0431\u0440\u0438\u0434\u043d\u043e\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f. \u0414\u043b\u044f \u043f\u0440\u0438\u0434\u0430\u043d\u0438\u044f \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u043c\u0443 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044e Rhodes \u043d\u0443\u0436\u043d\u043e\u0433\u043e \u0432\u043d\u0435\u0448\u043d\u0435\u0433\u043e \u0432\u0438\u0434\u0430 \u0438 \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c CSS\/JS \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0438, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, OnsenUI \u0438\u043b\u0438 Framework7. \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043c\u044b \u043f\u043e\u043a\u0430\u0436\u0435\u043c, \u043a\u0430\u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c OnsenUI \u0432 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u043c [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[2],"tags":[],"class_list":["post-871","post","type-post","status-publish","format-standard","hentry","category-bez-kategorii"],"acf":[],"_links":{"self":[{"href":"https:\/\/tau-platform.ru\/ru\/wp-json\/wp\/v2\/posts\/871","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tau-platform.ru\/ru\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tau-platform.ru\/ru\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tau-platform.ru\/ru\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/tau-platform.ru\/ru\/wp-json\/wp\/v2\/comments?post=871"}],"version-history":[{"count":11,"href":"https:\/\/tau-platform.ru\/ru\/wp-json\/wp\/v2\/posts\/871\/revisions"}],"predecessor-version":[{"id":894,"href":"https:\/\/tau-platform.ru\/ru\/wp-json\/wp\/v2\/posts\/871\/revisions\/894"}],"wp:attachment":[{"href":"https:\/\/tau-platform.ru\/ru\/wp-json\/wp\/v2\/media?parent=871"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tau-platform.ru\/ru\/wp-json\/wp\/v2\/categories?post=871"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tau-platform.ru\/ru\/wp-json\/wp\/v2\/tags?post=871"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}