Remove unneeded HTML

This commit is contained in:
Artur Beljajev 2019-10-16 19:22:54 +03:00
parent 64ea8d328a
commit 5e0c63b2b5
3 changed files with 18 additions and 20 deletions

View file

@ -1,5 +1,5 @@
- domains = contact.all_domains(page: params[:domain_page], per: 20, params: params)
#contacts.panel.panel-default
.panel.panel-default
.panel-heading
.pull-left
= t(:domains)

View file

@ -3,23 +3,21 @@
<%= t(:statuses) %>
</div>
<div class="table-responsive">
<table class="table table-hover table-bordered table-condensed">
<thead>
<tr>
<th class="col-xs-6"><%= t(:status) %></th>
<th class="col-xs-6"><%= t(:notes) %></th>
</tr>
</thead>
<table class="table table-hover table-bordered table-condensed">
<thead>
<tr>
<th class="col-xs-6"><%= t(:status) %></th>
<th class="col-xs-6"><%= t(:notes) %></th>
</tr>
</thead>
<tbody>
<% contact.statuses.each do |status| %>
<tr>
<td><%= status %></td>
<td><%= contact.status_notes[status] %></td>
</tr>
<% end %>
</tbody>
</table>
</div>
<tbody>
<% contact.statuses.each do |status| %>
<tr>
<td><%= status %></td>
<td><%= contact.status_notes[status] %></td>
</tr>
<% end %>
</tbody>
</table>
</div>

View file

@ -1,5 +1,5 @@
- domains = contact.all_domains(page: params[:domain_page], per: 20, params: params)
#contacts.panel.panel-default
.panel.panel-default
.panel-heading
.pull-left
= t(:domains)