This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
2012-10-15 05:54:29 +00:00
|
|
|
<div class="map-block back">
|
|
|
|
<h4><span><%= role.title %></span></h4>
|
|
|
|
<div class="form-horizontal">
|
2012-10-15 06:44:48 +00:00
|
|
|
|
|
|
|
|
|
|
|
<% 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|%>
|
2012-10-15 05:54:29 +00:00
|
|
|
<%= af.block_helper(@user,@form_index)%>
|
|
|
|
<% @form_index = @form_index +1 %>
|
|
|
|
<% end %>
|
2012-10-15 06:44:48 +00:00
|
|
|
</div>
|
2012-10-15 05:54:29 +00:00
|
|
|
|
2012-10-15 06:44:48 +00:00
|
|
|
<% end %>
|
2012-10-15 05:54:29 +00:00
|
|
|
|
2012-10-15 06:44:48 +00:00
|
|
|
|
2012-10-15 05:54:29 +00:00
|
|
|
</div>
|
|
|
|
</div>
|