Sha256: 4be1dd0071fd51e55067bd1f25abce62381df6f5a448864410c41a84e7e37b0c

Contents?: true

Size: 820 Bytes

Versions: 2

Compression:

Stored size: 820 Bytes

Contents

%div{class: "flex flex-col space-y-2 justify-center"}
  %div{class: "flex justify-between"}
    %div
      = form_with(url: mod_logs_path, method: :get, class: "flex items-center") do |f|
        %div{class: "space-x-0.5"}
          = f.text_field :q, value: params[:q], placeholder: "关键词", class: "border rounded-md m py-0.5 px-1"
          = f.submit "检索", class: "rounded-md px-2 py-1 text-sm bg-black text-white cursor-pointer"
          = link_to "重置", mod_logs_path, class: "text-sm"

    %div{class: "text-sm text-gray-600"}="共 #{@pagy.count} 条"
  %div
    - if @mod_logs.blank?
      %div{class: "flex justify-center text-gray-500 p-8 border rounded-md"} 空空如也
    - else
      - @mod_logs.each do |log|
        = render log
  %div{class: "flex justify-center"}
    = raw pagy_nav(@pagy)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
censor_bear-0.1.14 app/views/censor_bear/mod_logs/index.html.haml
censor_bear-0.1.13 app/views/censor_bear/mod_logs/index.html.haml