From 39c1dec0a2787cc45541a4ed9b6ceb6884c4a44f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=92=9F=E8=BF=9B?= Date: Thu, 23 Jul 2020 04:51:57 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20show=5Fprotected.html.erb?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../builder/public/embeds/show_protected.html.erb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/views/carto/builder/public/embeds/show_protected.html.erb b/app/views/carto/builder/public/embeds/show_protected.html.erb index db957e0..3d55ca5 100644 --- a/app/views/carto/builder/public/embeds/show_protected.html.erb +++ b/app/views/carto/builder/public/embeds/show_protected.html.erb @@ -2,7 +2,7 @@ - Protected map — 快点 + 受保护 — 快点 <%= editor_stylesheet_link_tag 'password_protected.css' %> @@ -11,18 +11,18 @@
-

This map is protected with password

+

这个地图需要密码

<%= form_tag "embed_protected?#{request.query_string}", method: :post do %>
- <%= password_field_tag 'password', params[:password], class: "PublicPage-form--inputText RoundBorders-all CDB-Text CDB-Size-medium is-light u-whiteTextColor #{ flash[:error].present? ? 'is-alert' : ''}", placeholder: 'Insert your password'%> + <%= password_field_tag 'password', params[:password], class: "PublicPage-form--inputText RoundBorders-all CDB-Text CDB-Size-medium is-light u-whiteTextColor #{ flash[:error].present? ? 'is-alert' : ''}", placeholder: '输入密码'%> <%- if flash[:error].present? %>
@@ -34,7 +34,7 @@ <% end %>
-

Contact with the owner in case you want access to it.

+

请勿越权使用.