forked from saurabh/orbit4-5
22 lines
636 B
Plaintext
22 lines
636 B
Plaintext
|
<% role_disable = @member.roles.include?(role) ? false : true %>
|
||
|
|
||
|
<div class="attributes <%= role_disable ? 'disabled' : '' %>">
|
||
|
<div class="attributes-header clearfix">
|
||
|
<h4><%= role.title %><%= t(:role_info)%></h4>
|
||
|
</div>
|
||
|
|
||
|
<div class="attributes-body">
|
||
|
|
||
|
<% @form_index = @form_index +1 %>
|
||
|
|
||
|
<div class="control-group">
|
||
|
<%= label_tag t(:status), nil, {:func=>"field_label", :for=>"1", :class=>"control-label muted"} %>
|
||
|
<div class="controls">
|
||
|
<% role.role_statuses.where(disable: false).each_with_index do |rrs, i|%>
|
||
|
<% end %>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
</div>
|