{"id":184528,"date":"2013-06-25T09:18:02","date_gmt":"2013-06-25T05:18:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=184528"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=184528","title":{"rendered":"<span class=\"post_title\">\u041b\u0435\u0433\u043a\u0430\u044f \u0432\u0435\u0440\u0441\u0442\u043a\u0430 \u0432 \u0432\u044b\u043d\u0443\u0436\u0434\u0435\u043d\u043d\u044b\u0445 \u043c\u0435\u0441\u0442\u0430\u0445: \u0445\u0435\u043b\u043f\u0435\u0440\u044b, \u0434\u0435\u043a\u043e\u0440\u0430\u0442\u043e\u0440\u0430\u0445, \u044d\u043b\u0435\u043c\u0430\u043d\u0442\u044b \u0444\u043e\u0440\u043c<\/span>"},"content":{"rendered":"<div class=\"content html_format\">   \t\u041c\u043d\u043e\u0433\u0438\u0435 \u0443\u0436\u0435 \u0437\u043d\u0430\u044e\u0442 \u043e \u0442\u043e\u043c \u0447\u0442\u043e \u0432\u043e \u0432\u044c\u044e\u0445\u0430\u0445 \u043d\u0435 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u0442\u0441\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043b\u043e\u0433\u0438\u043a\u0443 \u0438 \u0432\u043e\u043e\u0431\u0449\u0435 \u043a\u0430\u043a\u0438\u0435-\u043b\u0438\u0431\u043e \u043c\u0430\u043d\u0438\u043f\u0443\u043b\u044f\u0446\u0438\u0438 \u0441 \u0434\u0430\u043d\u043d\u044b\u043c\u0438. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0439 \u043a\u043e\u0434 \u0432\u044b\u043d\u043e\u0441\u044f\u0442 \u0432 <a href=\"https:\/\/github.com\/drapergem\/draper\">\u0434\u0435\u043a\u043e\u0440\u0430\u0442\u043e\u0440\u044b<\/a>, <a href=\"https:\/\/github.com\/plataformatec\/simple_form\/wiki\/Adding-custom-input-components\">\u043a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0444\u043e\u0440\u043c\u044b<\/a>, <a href=\"https:\/\/github.com\/apotonick\/cells\">\u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b<\/a> \u0438 \u043f\u0440\u043e\u0441\u0442\u043e \u0445\u0435\u043b\u043f\u0435\u0440\u044b \u0432 \u043a\u043e\u043d\u0446\u0435-\u043a\u043e\u043d\u0446\u043e\u0432. <\/p>\n<p>  \u0414\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e, \u043f\u0440\u0438 \u0442\u0430\u043a\u043e\u043c \u043f\u043e\u0434\u0445\u043e\u0434\u0435 view-\u0444\u0430\u0439\u043b\u044b \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442\u044c \u043b\u0443\u0447\u0448\u0435. \u041d\u043e \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0444\u043e\u0440\u043c \u0438 \u0445\u0435\u043b\u043f\u0435\u0440\u044b \u0441\u0442\u0430\u043d\u043e\u0432\u044f\u0442\u0441\u044f \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0435\u0432\u044b\u043d\u043e\u0441\u0438\u043c\u044b\u043c\u0438.<\/p>\n<p>  \u041d\u043e \u0435\u0441\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0438 \u044d\u043b\u0435\u0433\u0430\u043d\u0442\u043d\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u043a\u0430\u043a \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0438\u0445 \u0447\u0438\u0449\u0435 \u0438 \u043f\u0440\u043e\u0449\u0435\u2026<\/p>\n<p>  <a name=\"habracut\"><\/a><\/p>\n<p>  \u041a \u043f\u0440\u0438\u043c\u0435\u0440\u0443 \u0432\u043e\u0437\u044c\u043c\u0435\u043c \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0444\u043e\u0440\u043c\u044b <code>PriceRangeInput<\/code>.<\/p>\n<pre><code class=\"ruby\">class PriceRangeInput &lt; SimpleForm::Inputs::Base   def input     output = template.content_tag(:div, class: 'j-price-slider') do       div = ''       div &lt;&lt; template.content_tag(:div, class: 'row') do         row = &quot;&quot;         row &lt;&lt; template.content_tag(:span, class: 'span3') do           @builder.input(:min_total_price, label: false, input_html: { class: 'input-small j-min-total-price'})         end         row &lt;&lt; template.content_tag(:span, class: 'span3') do           @builder.input(:max_total_price, label: false, input_html: { class: 'input-small j-max-total-price'})         end         row.html_safe       end            div &lt;&lt; template.content_tag(:div, class: 'row') do         template.content_tag(:span, class: 'span6') do           template.content_tag(:div, class: 'j-slider', :data =&gt; :slider_data) do           end         end       end       div.html_safe     end     output.html_safe   end end <\/code><\/pre>\n<p>  \u042d\u0442\u043e\u0442 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u043b\u0435\u0433\u043a\u043e \u0432\u044b\u0437\u0432\u0430\u0442\u044c \u0438\u0437 \u0444\u043e\u0440\u043c\u044b:<\/p>\n<pre><code class=\"ruby\">= simple_form_for current_search_form, :url =&gt; :search, :method =&gt; &quot;get&quot; do |f|     = f.input :price_range, :label =&gt; false, :as =&gt; :price_range <\/code><\/pre>\n<p>  \u043d\u043e \u0443\u043f\u0440\u043e\u0441\u0442\u0438\u0432 \u0441\u0430\u043c\u0443 \u0444\u043e\u0440\u043c\u0443, \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u044b \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0441\u0442\u0430\u043b\u043e \u0441\u043b\u043e\u0436\u043d\u043e \u043f\u043e\u043d\u0438\u043c\u0430\u0442\u044c. \u0412 \u0435\u0433\u043e \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0435 \u043b\u0435\u0433\u043a\u043e \u0437\u0430\u043f\u0443\u0442\u0430\u0442\u044c\u0441\u044f.<\/p>\n<h3>\u0412\u044b\u0445\u043e\u0434 \u0435\u0441\u0442\u044c<\/h3>\n<p>  \u0420\u0435\u0448\u0435\u043d\u0438\u0435 \u2014 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <a href=\"https:\/\/github.com\/gregbell\/arbre\">Arbre \u2014 Ruby Object Oriented HTML Views.<\/a><\/p>\n<p>  \u041e\u043d \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043b\u0435\u0433\u043a\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432\u0435\u0440\u0441\u0442\u043a\u0443 \u0432 \u043a\u043e\u0434\u0435, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u043f\u043e\u0432\u0442\u043e\u0440\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b. Arbre \u0440\u043e\u0436\u0434\u0435\u043d \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435 <a href=\"http:\/\/activeadmin.info\/\">acive_admin<\/a> \u0438 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f, \u043f\u043e \u0441\u0443\u0442\u0438, \u0435\u0433\u043e \u043e\u0441\u043d\u043e\u0432\u043e\u0439.<\/p>\n<h3>\u0411\u043b\u0438\u0436\u0435 \u043a \u0434\u0435\u043b\u0443<\/h3>\n<p>  \u041d\u0430\u0447\u043d\u0435\u043c \u0441 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u043e\u043c\u043e\u0449\u043d\u0438\u0447\u043a\u0430 \u0432 \u0431\u0430\u0437\u043e\u0432\u044b\u0439 \u043a\u043b\u0430\u0441\u0441 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u0444\u043e\u0440\u043c. \u042d\u0442\u043e \u043e\u0434\u0438\u043d \u0438\u0437 \u0440\u0435\u0434\u043a\u0438\u0445 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432 \u0443\u043c\u0435\u0441\u0442\u043d\u043e\u0433\u043e monkey patch.<\/p>\n<pre><code class=\"ruby\">class SimpleForm::Inputs::Base private   def arbre assigns={}, &block     Arbre::Context.new assigns.reverse_merge(:builder=&gt;@builder), template, &block   end end <\/code><\/pre>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u0435\u043c \u0437\u0430\u0440\u0435\u0444\u0430\u0442\u043e\u0440\u0438\u0442\u044c \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0444\u043e\u0440\u043c\u044b:<\/p>\n<pre><code class=\"ruby\"> def input     arbre slider_data: slider_data do       div class: 'j-price-slider' do         div class: 'row' do           span class: 'span3' do             builder.input :min_total_price, label: false, input_html: { class: 'input-small j-min-total-price'}           end           span class: 'span3' do             builder.input :max_total_price, label: false, input_html: { class: 'input-small j-max-total-price'}           end         end          div class: 'row' do           span class: 'span6' do             div class: 'j-slider', data: slider_data           end         end       end     end   end <\/code><\/pre>\n<p>  \u0423\u0431\u0440\u0430\u043b\u0438 \u0432\u0441\u0435 \u043b\u0438\u0448\u043d\u0435\u0435, \u043e\u0441\u0442\u0430\u0432\u0438\u043b\u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u043e, \u0447\u0442\u043e \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043d\u0443\u0436\u043d\u043e. \u041a\u043e\u0434 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043f\u0440\u0438\u044f\u0442\u043d\u0435\u0435 \u0438 \u043f\u043e\u043d\u044f\u0442\u043d\u0435\u0435.<\/p>\n<h4>\u0414\u043e\u0441\u0442\u043e\u0438\u043d\u0441\u0442\u0432\u0430 Arbre<\/h4>\n<p>  \u0418 \u0442\u0430\u043a \u043f\u043e\u0434\u0432\u0435\u0434\u0435\u043c \u043a\u0440\u0430\u0442\u043a\u043e\u0435 \u0440\u0435\u0437\u044e\u043c\u0435.<\/p>\n<p>  1. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 <\/p>\n<blockquote><p>Arbre<\/p><\/blockquote>\n<p> \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0438\u0437\u0431\u0430\u0432\u0438\u0442\u044c\u0441\u044f \u043e\u0442 \u0431\u0443\u0444\u0435\u0440\u0430, \u0434\u043b\u044f \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u043c\u044b\u0445 \u0442\u0435\u0433\u043e\u0432:<\/p>\n<pre><code class=\"ruby\"># \u0431\u044b\u043b\u043e  buffer = '' buffer &lt;&lt; template.content_tag(:div, class: 'row') do   ... buffer &lt;&lt; template.content_tag(:div, class: 'row') do buffer.html_safe  # \u0441\u0442\u0430\u043b\u043e  div class: 'row' do ... div class: 'row' do  ... <\/code><\/pre>\n<p>  2. \u0418\u0437\u0431\u0430\u0432\u043b\u044f\u0435\u0442 \u043d\u0430\u0441 \u043e\u0442 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0442\u044c \u043c\u0443\u0441\u043e\u0440\u043d\u044b\u0439 <code>content_tag<\/code> \u0432 \u043a\u043e\u0434\u0435 \u0438 \u0434\u0430\u0435\u0442 \u0432\u043e\u0437\u043c\u0436\u043e\u043d\u043e\u0441\u0442\u044c \u043f\u0440\u044f\u043c\u043e \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0439 \u0442\u0435\u0433:<\/p>\n<pre><code class=\"ruby\"># \u0431\u044b\u043b\u043e template.content_tag(:div, class: 'row')   # \u0441\u0442\u0430\u043b\u043e div class: 'row' <\/code><\/pre>\n<p>  3. \u0418 \u0441\u0430\u043c\u043e\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0435 \u2014 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b.<\/p>\n<h4>\u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b<\/h4>\n<p>  \u0423\u0434\u0438\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u0435\u0449\u0435 \u0438 \u0442\u043e, \u0447\u0442\u043e <code>Arbre<\/code> \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043b\u0435\u0433\u043a\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0438\u0445 \u0432 \u043b\u044e\u0431\u043e\u043c \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0435.<\/p>\n<pre><code class=\"ruby\">class Row &lt; Arbre::Component   builder_method :row    def build(title, attributes = {})     super(attributes.merge class: 'row')   end end <\/code><\/pre>\n<p>  \u0421\u0440\u0430\u0437\u0443 \u043f\u043e\u0441\u043b\u0435 \u043e\u0431\u044c\u044f\u0432\u043b\u0435\u043d\u0438\u044f \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 \u0433\u043e\u0442\u043e\u0432 \u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044e \u0432 \u043b\u044e\u0431\u043e\u043c \u043c\u0435\u0441\u0442\u0435 arbre-\u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0430. \u0422\u0435\u043f\u0435\u0440\u044c \u0432\u043c\u0435\u0441\u0442\u043e:<\/p>\n<pre><code class=\"ruby\">template.content_tag(:div, class: 'row') do   ... <\/code><\/pre>\n<p>  \u043c\u043e\u0436\u043d\u043e \u043f\u0438\u0441\u0430\u0442\u044c<\/p>\n<pre><code class=\"ruby\">row do   ... <\/code><\/pre>\n<p>  \u0430 \u043d\u0430 \u0432\u044b\u0445\u043e\u0434\u0435 \u043f\u043e\u043b\u0447\u0438\u043c \u043a\u043e\u0434:<\/p>\n<pre><code class=\"html\"> &lt;div class=&quot;row&quot;&gt;    ... <\/code><\/pre>\n<p>  \u0412 \u043e\u0431\u0449\u0435\u043c arbre \u043f\u043e\u043c\u043e\u0433\u0430\u0435\u0442 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043d\u0435\u0438\u0437\u0431\u0435\u0436\u043d\u043e\u0435 \u2014 \u0432\u0435\u0440\u0441\u0442\u043a\u0443 \u0432 \u043a\u043e\u0434\u0435, \u0431\u043e\u043b\u0435\u0435 \u043f\u0440\u0438\u044f\u0442\u043d\u044b\u043c. \u0420\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u044e.    \t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/184528\/\"> http:\/\/habrahabr.ru\/post\/184528\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">   \t\u041c\u043d\u043e\u0433\u0438\u0435 \u0443\u0436\u0435 \u0437\u043d\u0430\u044e\u0442 \u043e \u0442\u043e\u043c \u0447\u0442\u043e \u0432\u043e \u0432\u044c\u044e\u0445\u0430\u0445 \u043d\u0435 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u0442\u0441\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043b\u043e\u0433\u0438\u043a\u0443 \u0438 \u0432\u043e\u043e\u0431\u0449\u0435 \u043a\u0430\u043a\u0438\u0435-\u043b\u0438\u0431\u043e \u043c\u0430\u043d\u0438\u043f\u0443\u043b\u044f\u0446\u0438\u0438 \u0441 \u0434\u0430\u043d\u043d\u044b\u043c\u0438. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0439 \u043a\u043e\u0434 \u0432\u044b\u043d\u043e\u0441\u044f\u0442 \u0432 <a href=\"https:\/\/github.com\/drapergem\/draper\">\u0434\u0435\u043a\u043e\u0440\u0430\u0442\u043e\u0440\u044b<\/a>, <a href=\"https:\/\/github.com\/plataformatec\/simple_form\/wiki\/Adding-custom-input-components\">\u043a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0444\u043e\u0440\u043c\u044b<\/a>, <a href=\"https:\/\/github.com\/apotonick\/cells\">\u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b<\/a> \u0438 \u043f\u0440\u043e\u0441\u0442\u043e \u0445\u0435\u043b\u043f\u0435\u0440\u044b \u0432 \u043a\u043e\u043d\u0446\u0435-\u043a\u043e\u043d\u0446\u043e\u0432. <\/p>\n<p>  \u0414\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e, \u043f\u0440\u0438 \u0442\u0430\u043a\u043e\u043c \u043f\u043e\u0434\u0445\u043e\u0434\u0435 view-\u0444\u0430\u0439\u043b\u044b \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442\u044c \u043b\u0443\u0447\u0448\u0435. \u041d\u043e \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0444\u043e\u0440\u043c \u0438 \u0445\u0435\u043b\u043f\u0435\u0440\u044b \u0441\u0442\u0430\u043d\u043e\u0432\u044f\u0442\u0441\u044f \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0435\u0432\u044b\u043d\u043e\u0441\u0438\u043c\u044b\u043c\u0438.<\/p>\n<p>  \u041d\u043e \u0435\u0441\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0438 \u044d\u043b\u0435\u0433\u0430\u043d\u0442\u043d\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u043a\u0430\u043a \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0438\u0445 \u0447\u0438\u0449\u0435 \u0438 \u043f\u0440\u043e\u0449\u0435\u2026<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-184528","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/184528","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=184528"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/184528\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=184528"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=184528"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=184528"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}