Merge branch 'new_member' of github.com:Rulingcom/orbit into new_member
This commit is contained in:
		
						commit
						fe183c316f
					
				| 
						 | 
					@ -2,10 +2,18 @@
 | 
				
			||||||
  <h4><span><%= role.title %></span></h4>
 | 
					  <h4><span><%= role.title %></span></h4>
 | 
				
			||||||
  <div class="form-horizontal">
 | 
					  <div class="form-horizontal">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <% role.attribute_fields.each  do |af|%>
 | 
					
 | 
				
			||||||
 | 
					  <% role.sub_roles.each do |sub_role| %>  
 | 
				
			||||||
 | 
					      <div id="le">
 | 
				
			||||||
 | 
					      <legend><button class="onoff pull-right">ON</button><%= sub_role.title %></legend>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <% sub_role.attribute_fields.each  do |af|%>
 | 
				
			||||||
        <%= af.block_helper(@user,@form_index)%>
 | 
					        <%= af.block_helper(@user,@form_index)%>
 | 
				
			||||||
        <% @form_index = @form_index +1 %>
 | 
					        <% @form_index = @form_index +1 %>
 | 
				
			||||||
    <% end %>
 | 
					    <% end %>
 | 
				
			||||||
 | 
					    </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  <% end %>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue