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) - domains = contact.all_domains(page: params[:domain_page], per: 20, params: params)
#contacts.panel.panel-default .panel.panel-default
.panel-heading .panel-heading
.pull-left .pull-left
= t(:domains) = t(:domains)

View file

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

View file

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