Sha256: aca35c76014bd137ddd8e0a3b6b30032ee35b0a3baf6ea41b849e49e3e525f68
Contents?: true
Size: 1.03 KB
Versions: 10
Compression:
Stored size: 1.03 KB
Contents
<div class="constraints-editor" data-key="<%= key %>"> <div class="callout" style="display:none" data-closable> <p></p> <button class="close-button" aria-label="Dismiss alert" type="button" data-close> <span aria-hidden="true">×</span> </button> </div> <h5><%= t ".title" %></h5> <% if constraints.blank? %> <span class="label warning"><%= t ".always" %></span> <% end %> <ul class="constraints-list"> <% constraints&.each do |constraint| %> <li> <% constraint.settings.reverse_each do |k, val| %> <span class="label <%= k %>"><%= translate_constraint_value constraint, k %></span> <% end %> <a href="<%= constraint_path(id: constraint.id, key: key) %>" class="edit-condition"><%= t ".edit" %></a> <%= link_to t(".delete"), constraint_path(id: constraint.id), remote: true, method: :delete %> </li> <% end %> </ul> <a href="<%= new_constraint_path(key: key) %>" class="add-condition"><%= t ".add_condition" %></a> </div>
Version data entries
10 entries across 10 versions & 1 rubygems