2015-09-22 05:56:02 +00:00
|
|
|
<tr>
|
|
|
|
<td><a href="/admin/spaces/<%= floor.building.to_param %>/<%= floor.to_param %>/units"><%= floor.title %></a></td>
|
|
|
|
<td>
|
2015-09-24 15:43:47 +00:00
|
|
|
<% if !floor.layout_image.url.nil? %>
|
2015-11-24 05:51:47 +00:00
|
|
|
<a class="btn-flat btn-flat-info btn-flat-has-icon" href="/admin/spaces/floor/<%= floor.to_param %>/layout"><i class="fa fa-object-group"></i>Floor Layout</a>
|
2015-09-22 05:56:02 +00:00
|
|
|
<% end %>
|
2015-11-24 05:51:47 +00:00
|
|
|
<a class="btn-flat btn-flat-primary btn-flat-has-icon edit-floor-btns" href="#" data-values='{"id" : "<%= floor.id.to_s %>", "title" : "<%= floor.title %>", "layout" : "<%= floor.layout_image.url == "" ? "" : floor.layout_image.url %>"}'><i class="fa fa-pencil"></i>Edit Floor</a>
|
|
|
|
<a class="btn-flat btn-flat-danger btn-flat-has-icon floor-delete-btns" href="/admin/spaces/floor/<%= floor.to_param %>/delete"><i class="fa fa-trash-o"></i>Delete</a>
|
2015-09-22 05:56:02 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|