Changes notes tag on forms
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
<div class="small-12 column">
|
<div class="small-12 column">
|
||||||
<%= f.label :tag_list, t("debates.form.tags_label") %>
|
<%= f.label :tag_list, t("debates.form.tags_label") %>
|
||||||
<span class="note"><%= t("debates.form.tags_instructions") %></span>
|
<p class="note"><%= t("debates.form.tags_instructions") %></p>
|
||||||
<span class="tags">
|
<span class="tags">
|
||||||
<% @featured_tags.each do |tag| %>
|
<% @featured_tags.each do |tag| %>
|
||||||
<a class="js-add-tag-link"><%= tag.name %></a>
|
<a class="js-add-tag-link"><%= tag.name %></a>
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
<%= f.fields_for :organization do |fo| %>
|
<%= f.fields_for :organization do |fo| %>
|
||||||
<%= fo.text_field :name, autofocus: true, maxlength: Organization.name_max_length, placeholder: t("devise_views.organizations.registrations.new.organization_name_label") %>
|
<%= fo.text_field :name, autofocus: true, maxlength: Organization.name_max_length, placeholder: t("devise_views.organizations.registrations.new.organization_name_label") %>
|
||||||
<%= fo.label t("devise_views.organizations.registrations.new.responsible_name_label") %>
|
<%= fo.label t("devise_views.organizations.registrations.new.responsible_name_label") %>
|
||||||
<span class="note"><%= t("devise_views.organizations.registrations.new.responsible_name_note") %></span>
|
<p class="note"><%= t("devise_views.organizations.registrations.new.responsible_name_note") %></p>
|
||||||
<%= fo.text_field :responsible_name, maxlength: Organization.responsible_name_max_length, label: false %>
|
<%= fo.text_field :responsible_name, maxlength: Organization.responsible_name_max_length, label: false %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
<div class="small-12 column">
|
<div class="small-12 column">
|
||||||
<%= f.label :summary, t("proposals.form.proposal_summary") %>
|
<%= f.label :summary, t("proposals.form.proposal_summary") %>
|
||||||
<span class="note"><%= t("proposals.form.proposal_summary_note") %></span>
|
<p class="note"><%= t("proposals.form.proposal_summary_note") %></p>
|
||||||
<%= f.text_area :summary, rows: 4, maxlength: 200, label: false,
|
<%= f.text_area :summary, rows: 4, maxlength: 200, label: false,
|
||||||
placeholder: t('proposals.form.proposal_summary') %>
|
placeholder: t('proposals.form.proposal_summary') %>
|
||||||
</div>
|
</div>
|
||||||
@@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
<div class="small-12 column">
|
<div class="small-12 column">
|
||||||
<%= f.label :video_url, t("proposals.form.proposal_video_url") %>
|
<%= f.label :video_url, t("proposals.form.proposal_video_url") %>
|
||||||
<span class="note"><%= t("proposals.form.proposal_video_url_note") %></span>
|
<p class="note"><%= t("proposals.form.proposal_video_url_note") %></p>
|
||||||
<%= f.text_field :video_url, placeholder: t("proposals.form.proposal_video_url"), label: false %>
|
<%= f.text_field :video_url, placeholder: t("proposals.form.proposal_video_url"), label: false %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -41,7 +41,7 @@
|
|||||||
|
|
||||||
<div class="small-12 column">
|
<div class="small-12 column">
|
||||||
<%= f.label :tag_list, t("proposals.form.tags_label") %>
|
<%= f.label :tag_list, t("proposals.form.tags_label") %>
|
||||||
<span class="note"><%= t("proposals.form.tags_instructions") %></span>
|
<p class="note"><%= t("proposals.form.tags_instructions") %></p>
|
||||||
<span class="tags">
|
<span class="tags">
|
||||||
<% @featured_tags.each do |tag| %>
|
<% @featured_tags.each do |tag| %>
|
||||||
<a class="js-add-tag-link"><%= tag.name %></a>
|
<a class="js-add-tag-link"><%= tag.name %></a>
|
||||||
@@ -53,7 +53,7 @@
|
|||||||
<% if current_user.unverified? %>
|
<% if current_user.unverified? %>
|
||||||
<div class="small-12 column">
|
<div class="small-12 column">
|
||||||
<%= f.label :responsible_name, t("proposals.form.proposal_responsible_name") %>
|
<%= f.label :responsible_name, t("proposals.form.proposal_responsible_name") %>
|
||||||
<span class="note"><%= t("proposals.form.proposal_responsible_name_note") %></span>
|
<p class="note"><%= t("proposals.form.proposal_responsible_name_note") %></p>
|
||||||
<%= f.text_field :responsible_name, placeholder: t("proposals.form.proposal_responsible_name"), label: false %>
|
<%= f.text_field :responsible_name, placeholder: t("proposals.form.proposal_responsible_name"), label: false %>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<%= simple_captcha_options[:image] %>
|
<%= simple_captcha_options[:image] %>
|
||||||
<%= simple_captcha_options[:refresh_button] %>
|
<%= simple_captcha_options[:refresh_button] %>
|
||||||
|
|
||||||
<span class="note"><%= simple_captcha_options[:label] %></span>
|
<p class="note"><%= simple_captcha_options[:label] %></p>
|
||||||
|
|
||||||
<%= simple_captcha_options[:field] %>
|
<%= simple_captcha_options[:field] %>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
<div class="small-12 column">
|
<div class="small-12 column">
|
||||||
<%= f.label :password, t("devise_views.users.registrations.edit.password_label") %>
|
<%= f.label :password, t("devise_views.users.registrations.edit.password_label") %>
|
||||||
<span class="note"><%= t("devise_views.users.registrations.edit.leave_blank") %></span>
|
<p class="note"><%= t("devise_views.users.registrations.edit.leave_blank") %></p>
|
||||||
<%= f.password_field :password, autocomplete: "off", label: false, placeholder: t("devise_views.users.registrations.edit.password_label") %>
|
<%= f.password_field :password, autocomplete: "off", label: false, placeholder: t("devise_views.users.registrations.edit.password_label") %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -29,7 +29,7 @@
|
|||||||
|
|
||||||
<div class="small-12 column">
|
<div class="small-12 column">
|
||||||
<%= f.label :current_password, t("devise_views.users.registrations.edit.current_password_label") %>
|
<%= f.label :current_password, t("devise_views.users.registrations.edit.current_password_label") %>
|
||||||
<span class="note"><%= t("devise_views.users.registrations.edit.need_current") %></span>
|
<p class="note"><%= t("devise_views.users.registrations.edit.need_current") %></p>
|
||||||
<%= f.password_field :current_password, label: false, autocomplete: "off", placeholder: t("devise_views.users.registrations.edit.current_password_label") %>
|
<%= f.password_field :current_password, label: false, autocomplete: "off", placeholder: t("devise_views.users.registrations.edit.current_password_label") %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
<div class="small-12 column">
|
<div class="small-12 column">
|
||||||
|
|
||||||
<%= f.label t("devise_views.users.registrations.new.username_label") %>
|
<%= f.label t("devise_views.users.registrations.new.username_label") %>
|
||||||
<span class="note"><%= t("devise_views.users.registrations.new.username_note") %></span>
|
<p class="note"><%= t("devise_views.users.registrations.new.username_note") %></p>
|
||||||
<%= f.text_field :username, maxlength: User.username_max_length, placeholder: t("devise_views.users.registrations.new.username_label"), label: false %>
|
<%= f.text_field :username, maxlength: User.username_max_length, placeholder: t("devise_views.users.registrations.new.username_label"), label: false %>
|
||||||
|
|
||||||
<%= f.email_field :email, placeholder: t("devise_views.users.registrations.new.email_label") %>
|
<%= f.email_field :email, placeholder: t("devise_views.users.registrations.new.email_label") %>
|
||||||
|
|||||||
@@ -344,7 +344,7 @@ form input[type]:not([type=submit]) {
|
|||||||
<div class="small-12 medium-8 small-centered column">
|
<div class="small-12 medium-8 small-centered column">
|
||||||
<form>
|
<form>
|
||||||
<label>Nombre</label>
|
<label>Nombre</label>
|
||||||
<span class="note">Mensaje de información para rellenar el campo</span>
|
<p class="note">Mensaje de información para rellenar el campo</p>
|
||||||
<input type="text">
|
<input type="text">
|
||||||
<label>Apellidos</label>
|
<label>Apellidos</label>
|
||||||
<input type="text">
|
<input type="text">
|
||||||
|
|||||||
Reference in New Issue
Block a user