Sha256: ce5e3f9f067f037fb6b5922b9d4025c1043204ad564546ba27b6309fbe39f4b1
Contents?: true
Size: 786 Bytes
Versions: 2
Compression:
Stored size: 786 Bytes
Contents
#rails_admin_robots_txt_wrapper #rails_admin_robots_txt .controls = form_for "robots_txt", url: robots_txt_path(model_name: @abstract_model), method: :post do |f| p= f.submit "Сохранить robots.txt" p= f.text_area :content, @textarea_opts p= f.submit "Сохранить robots.txt" = link_to "Проверить", "/robots.txt", target: :_blank, title: "Проверить сожержимое robots.txt там и сейчас" ' = link_to "Проверить тут", "/robots.txt", title: "Проверить сожержимое robots.txt здесь и сейчас", onclick: "$('#file_contents').load(this.href); return false;" pre#file_contents{style='margin-bottom: 20px;'}
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rails_admin_robots_txt-0.1.0.1 | app/views/rails_admin/main/robots_txt.html.slim |
rails_admin_robots_txt-0.1.0 | app/views/rails_admin/main/robots_txt.html.slim |