Edifici

<%= iconbutton_new new_building_path %>
<%= view_table_open %> <%= view_table_head_open %> <%= view_table_row_open %> <%= view_table_head_cell_span 2 %> <%= view_table_head_cell ('Descrizione') %> <%= view_table_head_cell ('Nucleo') %> <%= view_table_head_cell ('Edificio principale') %> <%= view_table_head_cell ('Affitto Istat') %> <%= view_table_head_cell ('Affitto Rettifica') %> <%= view_table_head_cell ('Indirizzo') %> <%= view_table_head_cell ('Comune') %> <%= view_table_head_cell ('Codice radio') %> <%= view_table_head_cell ('Telefono') %> <%= view_table_head_cell ('Coordinate') %> <%= view_table_head_cell ('Note') %> <%= view_table_row_close %> <%= view_table_head_close %> <%= view_table_body_open %> <% @buildings.each do |building| %> <%= view_table_row_open %> <%= view_table_cell ( iconbutton_view building, '') %> <%= view_table_cell ( iconbutton_edit edit_building_path(building), '') %> <%#= view_table_cell ( iconbutton_delete building, '') %> <%= view_table_cell ( building.descrizione) %> <%= view_table_cell ( link_to(building.house.descrizione, house_path(building.house))) %> <%= view_table_cell ( check_box_tag :main_building, :main_building, building.main_building, disabled: true) %> <%= view_table_cell ( building.affitto_istat) %> <%= view_table_cell ( building.affitto_rettifica) %> <%= view_table_cell ( building.indirizzo) %> <%= view_table_cell ( building.comune) %> <%= view_table_cell ( building.codice_radio) %> <%= view_table_cell ( building.telefono) %> <%= view_table_cell ( building.coordinate) %> <%= view_table_cell ( building.note) %> <%= view_table_row_close %> <% end %> <%= view_table_body_close %> <%= view_table_close %>
<%= iconbutton_new new_building_path %>