Add help text to slug on admin new site customization pages
This commit is contained in:
@@ -18,22 +18,22 @@
|
|||||||
<hr>
|
<hr>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="small-12 medium-5 column">
|
<div class="small-12 medium-4 column">
|
||||||
<h3><%= t("admin.site_customization.pages.form.options") %></h3>
|
<h3><%= t("admin.site_customization.pages.form.options") %></h3>
|
||||||
<%= f.check_box :more_info_flag, class: "small" %>
|
|
||||||
<%= f.check_box :print_content_flag %>
|
|
||||||
</div>
|
|
||||||
<div class="small-12 medium-3 column">
|
|
||||||
<%= f.label :status %>
|
<%= f.label :status %>
|
||||||
<% ::SiteCustomization::Page::VALID_STATUSES.each do |status| %>
|
<% ::SiteCustomization::Page::VALID_STATUSES.each do |status| %>
|
||||||
<%= f.radio_button :status, status, label: false %>
|
<%= f.radio_button :status, status, label: false %>
|
||||||
<%= f.label "status_#{status}", t("admin.site_customization.pages.page.status_#{status}") %>
|
<%= f.label "status_#{status}", t("admin.site_customization.pages.page.status_#{status}") %>
|
||||||
<br>
|
<br>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
|
<%= f.check_box :more_info_flag, class: "small" %>
|
||||||
|
<%= f.check_box :print_content_flag %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="small-12 medium-4 column">
|
<div class="small-12 medium-6 column">
|
||||||
<%= f.label :slug %>
|
<%= f.label :slug %>
|
||||||
|
<p class="help-text"><%= t("admin.site_customization.pages.new.slug_help_html") %>
|
||||||
<%= f.text_field :slug, label: false, size: 80, maxlength: 80 %>
|
<%= f.text_field :slug, label: false, size: 80, maxlength: 80 %>
|
||||||
</div>
|
</div>
|
||||||
<div class="small-12 column">
|
<div class="small-12 column">
|
||||||
|
|||||||
@@ -1600,6 +1600,7 @@ en:
|
|||||||
see_page: See page
|
see_page: See page
|
||||||
new:
|
new:
|
||||||
title: Create new custom page
|
title: Create new custom page
|
||||||
|
slug_help_html: "Text to identify this page on URL, for example <code>https://consulproject.org/page-slug</code>"
|
||||||
page:
|
page:
|
||||||
created_at: Created at
|
created_at: Created at
|
||||||
status: Status
|
status: Status
|
||||||
|
|||||||
@@ -1599,6 +1599,7 @@ es:
|
|||||||
see_page: Ver página
|
see_page: Ver página
|
||||||
new:
|
new:
|
||||||
title: Página nueva
|
title: Página nueva
|
||||||
|
slug_help_html: "Texto que identifica esta página en la URL, por ejemplo <code>https://consulproject.org/slug-de-pagina</code>"
|
||||||
page:
|
page:
|
||||||
created_at: Creada
|
created_at: Creada
|
||||||
status: Estado
|
status: Estado
|
||||||
|
|||||||
Reference in New Issue
Block a user