更新 public_map_password.html.erb
This commit is contained in:
parent
8abda07da4
commit
c0402499a8
@ -1,16 +1,16 @@
|
||||
<%= content_for(:title) do %>
|
||||
Protected map
|
||||
受保护的地图
|
||||
<% end %>
|
||||
|
||||
<%= content_for(:header_title) do %>
|
||||
This map is protected with password
|
||||
这个地图需要密码
|
||||
<% end %>
|
||||
|
||||
<%= content_for(:password_form) do %>
|
||||
<%= form_tag(CartoDB.url(self, 'protected_public_map', params: { :protocol => Rails.env.development? ? 'http' : 'https'}) + '?' + request.query_string, { :method => 'POST', :authenticity_token => false}) do %>
|
||||
|
||||
<div class='PublicPage-field-withTooltip'>
|
||||
<%= 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? %>
|
||||
<div class="PublicPage-inputTooltip CDB-InfoTooltip CDB-InfoTooltip--left u-lSpace--xl is-error">
|
||||
@ -23,5 +23,5 @@
|
||||
<% end %>
|
||||
|
||||
<%= content_for(:ua) do %>
|
||||
primary
|
||||
私密的
|
||||
<% end %>
|
||||
|
Loading…
Reference in New Issue
Block a user