Sha256: 1871282ee16751d22dfacb7f72f5a92eb7e77287760363d04080f548662c8e81
Contents?: true
Size: 906 Bytes
Versions: 2
Compression:
Stored size: 906 Bytes
Contents
%div{class: "flex flex-col space-y-2 rounded-lg border p-4"} %h2{class: "text-xl font-medium text-center"} 在线调试 %div{class: "flex justify-center"} = form_with(url: debug_path, method: :post, class: "flex flex-col items-center w-full space-y-4") do |f| = f.select :stage, options_for_select([%w[check_text check_text], %w[check_search check_search], %w[check_search check_search], %w[qq_regex qq_regex], %w[wx_regex wx_regex]], params[:stage]), {}, class: "border rounded-md m py-0.5 px-1" = f.select :type, options_for_select(CensorBear::StopWord::FIELDS.map{|f| [f.upcase, f]}, params[:type]), {}, class: "border rounded-md m py-0.5 px-1" = f.text_area :content, value: params[:content], placeholder: "输入正文", rows: 6, class: "bg-gray-100 rounded-lg p-4 w-full" = f.submit "检测", class: "rounded-lg px-10 py-1 bg-black text-white cursor-pointer" #result
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
censor_bear-0.1.15 | app/views/censor_bear/home/debugger.html.haml |
censor_bear-0.1.14 | app/views/censor_bear/home/debugger.html.haml |