space/app/views/admin/spaces/sub_units.html.erb

13 lines
653 B
Plaintext
Raw Normal View History

2015-09-24 15:43:47 +00:00
<% content_for :page_specific_css do %>
2015-11-24 05:51:47 +00:00
<%= stylesheet_link_tag "//maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css" %>
<%= stylesheet_link_tag "//cdnjs.cloudflare.com/ajax/libs/animate.css/3.4.0/animate.min.css" %>
<%= stylesheet_link_tag "spaces" %>
2015-09-24 15:43:47 +00:00
<% end %>
2015-11-24 05:51:47 +00:00
<ul class="rooms card-container list-unstyled clearfix row">
2015-09-24 15:43:47 +00:00
<%= render :partial => "sub_unit", :collection => @floor_unit.floor_sub_units %>
</ul>
<div class="bottomnav clearfix">
<div class="action pull-right">
<a href="/admin/spaces/unit/<%= @floor_unit.to_param %>/add_sub_unit" class="btn btn-primary"><%= t("space.add_sub_units") %></a>
</div>
</div>