sleepepi/sleepportal

View on GitHub
app/views/matching/_criteria.html.erb

Summary

Maintainability
Test Coverage
<span style="white-space:nowrap" data-object="remove-matching-group-parent">
  <%= select_tag 'criteria_ids[]', options_for_select([['---', nil]] + @variables, criteria_id), data: { object: 'matching-form-option' } %>
  <%= link_to 'X', '#', data: { object: 'remove-matching-group' }, class: 'btn btn-danger-inverse btn-xs', style: 'margin-left: -4px;' %>
</span>