Sha256: 034046797d2066d27ab05b8e6d7ee9f14ba709be60fd098985154e5632e8deb5
Contents?: true
Size: 1.05 KB
Versions: 6
Compression:
Stored size: 1.05 KB
Contents
- prepare_resource_name(nested_resources, :address) div id="#{@resource_name.pluralize}" = index_header do div id="new-#{@resource_name}" class='hide' .pull-left = count_div "#{@resource_name.pluralize}-count" do = print_count nested_resources.last.addresses_count, t_address_list .pull-right = ajax_link_to_new t(:'address.add'), [:new, nested_resources, :address].flatten, id: "new-#{@resource_name}-link" if can_edit? = hr = index_body do = table_for "#{@resource_name.pluralize}-index" do thead tr = th_icon 'home' = th t(:'address.title') = th t(:'address.country') = th t(:'address.state') = th t(:'address.zipcode') = th t(:'address.city') = th t(:'address.address1') = th t(:'address.address2') = th_actions 2 if can_edit? tbody = render partial: 'gaku/addresses/address', collection: nested_resources.last.addresses, as: :address, locals: {nested_resources: nested_resources}
Version data entries
6 entries across 6 versions & 2 rubygems