|
1 | 1 | <h1><%= t 'admin.tools.error_reports' %></h1> |
2 | 2 | <p class="is-lead"><%= pluralize(@reports.count, t('g.error')) %> <%= t 'g.logged' %></p> |
3 | 3 |
|
4 | | -<%= form_tag admin_error_reports_path, method: :get, class: 'has-margin-bottom-4' do %> |
5 | | - <%= label_tag :uuid, t('admin.error_search_uuid') %> |
6 | | - <%= text_field_tag :uuid, params[:uuid], class: 'form-element', placeholder: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' %> |
7 | | - <%= submit_tag t('g.search').capitalize, class: 'button is-filled' %> |
8 | | -<% end %> |
| 4 | +<div class="flex-row"> |
| 5 | + <%= form_tag admin_error_reports_path, method: :get, class: 'has-margin-bottom-4 primary' do %> |
| 6 | + <div class="form-group-horizontal"> |
| 7 | + <div class="form-group"> |
| 8 | + <%= label_tag :uuid, t('admin.error_search_uuid') %> |
| 9 | + <%= text_field_tag :uuid, params[:uuid], class: 'form-element', placeholder: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' %> |
| 10 | + </div> |
| 11 | + <div class="actions"> |
| 12 | + <%= submit_tag t('g.search').capitalize, class: 'button is-filled' %> |
| 13 | + </div> |
| 14 | + </div> |
| 15 | + <% end %> |
| 16 | + |
| 17 | + <%= form_tag admin_error_reports_path, method: :get, class: 'has-margin-bottom-4 primary' do %> |
| 18 | + <div class="form-group-horizontal"> |
| 19 | + <div class="form-group"> |
| 20 | + <%= label_tag :uuid, t('admin.error_search_version') %> |
| 21 | + <%= text_field_tag :uuid, params[:uuid], class: 'form-element', placeholder: '(full SHA)' %> |
| 22 | + </div> |
| 23 | + <div class="actions"> |
| 24 | + <div class="button-list"> |
| 25 | + <button type="submit" class="button is-filled"><%= t('g.search').capitalize %></button> |
| 26 | + <%= link_to 'Current', query_url(version: 'current'), class: 'button is-outlined' %> |
| 27 | + </div> |
| 28 | + </div> |
| 29 | + </div> |
| 30 | + <% end %> |
| 31 | +</div> |
| 32 | + |
9 | 33 |
|
10 | 34 | <% @reports.each do |report| %> |
11 | 35 | <%= render 'error_report', report: report %> |
|
0 commit comments