[noosfero/noosfero][master] custom-forms-plugin: display name and email instead of author name and author email
Rodrigo Souto
gitlab at gitlab.com
Thu Jun 11 16:42:44 BRT 2015
Rodrigo Souto pushed to branch master at Noosfero / noosfero
Commits:
69d6da5c by Rodrigo Souto at 2015-06-11T16:39:17Z
custom-forms-plugin: display name and email instead of author name and author email
- - - - -
1 changed file:
- plugins/custom_forms/views/custom_forms_plugin_profile/show.html.erb
Changes:
=====================================
plugins/custom_forms/views/custom_forms_plugin_profile/show.html.erb
=====================================
--- a/plugins/custom_forms/views/custom_forms_plugin_profile/show.html.erb
+++ b/plugins/custom_forms/views/custom_forms_plugin_profile/show.html.erb
@@ -14,8 +14,8 @@
<%= form_for :submission do |f| %>
<% if !user %>
- <%= required labelled_form_field _('Author name'), text_field_tag(:author_name, @submission.author_name) %>
- <%= required labelled_form_field _('Author email'), text_field_tag(:author_email, @submission.author_email) %>
+ <%= required labelled_form_field _('Name'), text_field_tag(:author_name, @submission.author_name) %>
+ <%= required labelled_form_field _('Email'), text_field_tag(:author_email, @submission.author_email) %>
<% end %>
<%= render :partial => 'shared/form_submission', :locals => {:f => f} %>
View it on GitLab: https://gitlab.com/noosfero/noosfero/commit/69d6da5cca54b4eaeb9e9f9469a360bc2fb808f6
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20150611/dae036f8/attachment.html>
More information about the Noosfero-dev
mailing list