2015-11-24 05:51:47 +00:00
|
|
|
<li class="apartment card col-sm-6 col-md-4 animated bounceInDown">
|
|
|
|
<div class="card-inner">
|
|
|
|
<a class="apartment-link card-link" href="/admin/spaces/<%= floor_unit.floor.to_param %>/<%= floor_unit.to_param %>/sub_units" style="background-image: url(<%= floor_unit.layout_image.thumb.url.nil? ? "/assets/no-layout.jpg" : floor_unit.layout_image.thumb.url %>)">
|
|
|
|
<!-- <img src="<%= floor_unit.layout_image.thumb.url.nil? ? "/assets/no-layout.jpg" : floor_unit.layout_image.thumb.url %>" > -->
|
|
|
|
<p class="apartment-name card-name"><%= floor_unit.title %></p>
|
|
|
|
</a>
|
|
|
|
<div class="apartment-actions card-actions">
|
|
|
|
<a class="btn-flat btn-flat-primary btn-flat-has-icon" href="/admin/spaces/unit/<%= floor_unit.to_param %>/edit">
|
|
|
|
<i class="fa fa-pencil"></i>Edit
|
|
|
|
</a>
|
|
|
|
<a class="btn-flat btn-flat-danger btn-flat-has-icon" href="/admin/spaces/unit/<%= floor_unit.to_param %>/delete" data-method="delete" data-confirm="Are you sure?">
|
|
|
|
<i class="fa fa-trash-o"></i>Delete
|
|
|
|
</a>
|
|
|
|
<% if !floor_unit.layout_image.thumb.url.nil? %>
|
|
|
|
<a class="btn-flat btn-flat-info btn-flat-has-icon" href="/admin/spaces/unit/<%= floor_unit.to_param %>/layout"><i class="fa fa-object-group"></i>Layout</a>
|
|
|
|
<% end %>
|
2015-09-22 05:56:02 +00:00
|
|
|
</div>
|
2015-11-24 05:51:47 +00:00
|
|
|
</div>
|
2015-09-22 05:56:02 +00:00
|
|
|
</li>
|