7 lines
330 B
Plaintext
7 lines
330 B
Plaintext
<% checked = false if defined?(checked).nil? %>
|
|
<li class="check-item <%=checked ? 'active' : ''%>">
|
|
<label>
|
|
<span class="user-name"><%= role.title rescue 'noname' %></span>
|
|
</label>
|
|
<%= check_box_tag "#{@role_params_name}", (role.id rescue nil) , (checked ? true : false) , :id => "role_ids_#{(role.id rescue '')}"%>
|
|
</li> |