<%= EmoFund.label %>
<%= iconbutton_new new_emo_fund_path %>
<% if @emo_funds %>
<%= view_table_open %>
<%= view_table_head_open %>
<%= view_table_row_open %>
<%= view_table_head_cell_span 2 %>
<%= view_table_head_cell EmoFund.human_attribute_name(:codice) %>
<%= view_table_head_cell EmoFund.human_attribute_name(:descrizione) %>
<%= view_table_head_cell (link_to(EmoFund.human_attribute_name(:srg_qec_fund_id), srg_qec_funds_path )) %>
<%= view_table_head_cell (link_to(EmoFund.human_attribute_name(:srg_adactype_id), srg_adactypes_path )) %>
<%= view_table_head_cell EmoFund.human_attribute_name(:in_use) %>
<%= view_table_row_close %>
<%= view_table_head_close %>
<%= view_table_body_open %>
<% @emo_funds.each do |emo_fund| %>
<%= view_table_row_open %>
<%= view_table_cell ( iconbutton_view emo_fund, '') %>
<%= view_table_cell ( iconbutton_edit edit_emo_fund_path(emo_fund), '') %>
<%#= view_table_cell ( iconbutton_delete emo_fund, '') %>
<%= view_table_cell ( emo_fund.codice) %>
<%= view_table_cell ( emo_fund.descrizione) %>
<%= view_table_cell ( emo_fund.srg_qec_fund_id.present? ? link_to( emo_fund.srg_qec_fund.format_for_formselect, srg_qec_fund_path(emo_fund.srg_qec_fund_id) ) : nil) %>
<%= view_table_cell ( emo_fund.srg_adactype.present? ? link_to( emo_fund.srg_adactype.format_for_formselect, srg_qec_fund_path(emo_fund.srg_qec_fund_id) ) : nil) %>
<%= view_table_cell ( check_box_tag :in_use, :in_use, emo_fund.in_use, disabled: true) %>
<%= view_table_row_close %>
<% end %>
<%= view_table_body_close %>
<%= view_table_close %>
<% end %>
<%= iconbutton_new new_emo_fund_path %>