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

12 lines
863 B
Plaintext
Raw Normal View History

2015-11-24 05:51:47 +00:00
<li class="building card col-xs-6 col-sm-4 col-md-3 col-lg-2 animated bounceInDown">
<div class="card-inner">
<a class="building-link card-link" href="/admin/spaces/<%= building.to_param %>/floors" style="background-image: url(<%= building.image.thumb.url %>)">
<!-- <img class="building-img card-img" src="<%= building.image.thumb.url %>" /> -->
<p class="building-name card-name"><%= building.title %></i></p>
</a>
<div class="building-actions card-actions">
<a class="btn-flat btn-flat-primary btn-flat-has-icon" href="<%= edit_admin_space_path(building) %>"><i class="fa fa-pencil"></i>Edit</a>
<a class="btn-flat btn-flat-danger btn-flat-has-icon" href="<%= admin_space_path(building) %>" data-method="delete" data-confirm="Are you sure?"><i class="fa fa-trash-o"></i>Delete</a>
</div>
</div>
2015-09-22 05:56:02 +00:00
</li>