Sha256: 7cc0b12b8e5bebde62a703b4aac8bfcb23b4bf0ffc4dee38e9c277c5da6ba9a9
Contents?: true
Size: 1.22 KB
Versions: 6
Compression:
Stored size: 1.22 KB
Contents
<nav class="navbar navbar-default"> <div class="container-fluid"> <div class="navbar-header"> <a class="navbar-brand" href="#"><%= @resource ? @resource.constantize.vulgata_name.pluralize : 'Translations Queue' %></a> </div> <div class="collapse navbar-collapse"> <%= sorting_dropdown(@resource ? :admin_resource_path : :translation_states_path) %> <%= form_tag admin_resource_path(resource: @resource), method: 'get', class: 'navbar-form navbar-right', role: 'search' do %> <div class="input-group"> <%= text_field_tag :q, params[:q], placeholder: "Search", class: "form-control"%> <% current_query_params.except(:q).each do |k,v| %> <%= hidden_field_tag k, v %> <% end %> <div class="input-group-btn"> <%= button_tag(type: "submit", name: nil, class: "btn btn-default") do %> <i class="glyphicon glyphicon-search"></i> <% end %> </div> </div> <%= link_to 'Clear', admin_resource_path(resource: @resource), class: 'btn btn-danger' if params[:q].present? %> <% end if @resource %> </div> <!-- /.navbar-collapse --> </div> <!-- /.container-fluid --> </nav>
Version data entries
6 entries across 6 versions & 1 rubygems