Adds text to form new

This commit is contained in:
Alberto Garcia Cabeza
2016-06-15 21:14:56 +02:00
parent dd7629b5af
commit 419ced5a18
3 changed files with 7 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
<div class="row"> <div class="row">
<div class="small-12 medium-9 column"> <div class="small-12 column">
<%= render 'shared/back_link' %> <%= render 'shared/back_link' %>
<h1><%= t("proposal_notifications.new.title") %></h1> <h1><%= t("proposal_notifications.new.title") %></h1>
@@ -12,7 +12,11 @@
proposal_path(@proposal, anchor: "comments"))).html_safe %> proposal_path(@proposal, anchor: "comments"))).html_safe %>
</p> </p>
</div> </div>
</div>
</div>
<div class="row">
<div class="small-12 medium-9 column">
<%= form_for @notification do |f| %> <%= form_for @notification do |f| %>
<%= render "shared/errors", resource: @notification %> <%= render "shared/errors", resource: @notification %>

View File

@@ -375,7 +375,7 @@ en:
title_label: "Title" title_label: "Title"
body_label: "Message" body_label: "Message"
submit_button: "Send message" submit_button: "Send message"
info_about_receivers_html: "This message will be send to <strong>%{count} people</strong> and it will be visible in %{proposal_page}." info_about_receivers_html: "This message will be send to <strong>%{count} people</strong> and it will be visible in %{proposal_page}.<br> Message are not sent immediately, users will receive periodically an email with all proposal notifications."
proposal_page: "the proposal's page" proposal_page: "the proposal's page"
show: show:
back: "Go back to my activity" back: "Go back to my activity"

View File

@@ -375,7 +375,7 @@ es:
title_label: "Título" title_label: "Título"
body_label: "Mensaje" body_label: "Mensaje"
submit_button: "Enviar mensaje" submit_button: "Enviar mensaje"
info_about_receivers_html: "Este mensaje se enviará a <strong>%{count} usuarios</strong> y se publicará en %{proposal_page}." info_about_receivers_html: "Este mensaje se enviará a <strong>%{count} usuarios</strong> y se publicará en %{proposal_page}.<br> El mensaje no se enviará inmediatamente, los usuarios recibirán periódicamente un email con todas las notificaciones de propuestas."
proposal_page: "la página de la propuesta" proposal_page: "la página de la propuesta"
show: show:
back: "Volver a mi actividad" back: "Volver a mi actividad"