Sha256: 2797c484a6b7d9de01b5e270741a887ec3d67b3af6ac8045b74568effbc00e0d
Contents?: true
Size: 1.28 KB
Versions: 66
Compression:
Stored size: 1.28 KB
Contents
<div id="order-selected-projects"> <% if current_order&.projects&.any? %> <div class="card__content budget-summary__selected"> <button data-toggle="reveal-selected"> <strong><%= current_order.projects.size %> </strong><%= t('.selected_projects', count: current_order.projects.size) %> <%= icon("caret-bottom", class:"icon--small", aria_label: t('.view'), role: "img") %> </button> <div id="reveal-selected" class="hide" data-toggler=".hide"> <ul class="budget-summary__selected-list"> <% current_order.projects.each do |project| %> <li class="budget-summary__selected-item"> <%= link_to translated_attribute(project.title), project %> <strong class="budget-summary__selected-number"> <%= budget_to_currency project.budget %> </strong> <% unless current_order_checked_out? %> <%= button_to order_line_item_path(project_id: project), method: :delete, remote: true, data: { disable: true }, form: { style: "display: inline" } do %> <%= icon("trash", aria_label: t('.remove'), role: "img") %> <% end %> <% end %> </li> <% end %> </ul> </div> </div> <% end %> </div>
Version data entries
66 entries across 66 versions & 2 rubygems