<%= form_for :search, :url=> buscar_leis_url, :html => { :method => :get, class: "flex flex-col gap-6 lg:flex-row lg:gap-2 grow" } do %> <%= text_field_tag :query, "" , :class=> "lg:grow rounded-lg lg:rounded-r-none lg:h-14 h-20 bg-gray-200 px-4 tex6lg text-gray-70", :placeholder => "Pesquisar no corpo..." %> <%= select_tag :law_type_id, options_from_collection_for_select(LawType.all, "id" , "name" ), :class=> "lg:h-14 h-20 bg-gray-200 px-4 tex6lg text-gray-70 ", :prompt => "Selecione o Tipo do Ato" %> <%= number_field_tag :number, "" , :class=> "lg:h-14 h-20 bg-gray-200 px-4 tex6lg text-gray-70 ", :placeholder => "Número do Ato" %> <%= number_field_tag :year, "" , :class=> "lg:h-14 h-20 bg-gray-200 px-4 tex6lg text-gray-70 ", :placeholder => "Ano do Ato" %> <% end %>
<% if @law.attachments.any? %>
<% end %> <% if @law.ancestors.any? %>
<% end %>
<% if @law.repealed %> <% @law.ancestors.each do |c| %>

<%= link_to "Revogado pela #{c.law_type.name} n° #{c.number}/#{c.year}" , law_details_path(c, :type_view=> :consolidada) %>

<% end %> <% end %>
<%= image_tag Adjustment.first.brasaoLeis.url(:brasao), class: "img-responsive brasao" %>

<%= @law.law_type.name %> n° <%= @law.number %>/<%= @law.year %> de <%= l(@law.date_act, :format=> :long) %>


<%= @law.title %>

<%= @law.menu %>


<%= render 'laws/structure_original_tw' if params[:type_view]=='original' %> <%= render 'laws/structure_consolidada' if params[:type_view]=='consolidada' %> <%= render 'laws/structure_compilada' if params[:type_view]=='compilada' %>

<%= @law.ordem %>

<%= @law.local_date %>

<%= raw @law.signature %>

Este texto não substitui o publicado no <%= @law.publication_form.name %> em <%=l @law.date_publication %>