Commit 69d6da5cca54b4eaeb9e9f9469a360bc2fb808f6

Authored by Rodrigo Souto
1 parent 512dd39f

custom-forms-plugin: display name and email instead of author name and author email

plugins/custom_forms/views/custom_forms_plugin_profile/show.html.erb
... ... @@ -14,8 +14,8 @@
14 14  
15 15 <%= form_for :submission do |f| %>
16 16 <% if !user %>
17   - <%= required labelled_form_field _('Author name'), text_field_tag(:author_name, @submission.author_name) %>
18   - <%= required labelled_form_field _('Author email'), text_field_tag(:author_email, @submission.author_email) %>
  17 + <%= required labelled_form_field _('Name'), text_field_tag(:author_name, @submission.author_name) %>
  18 + <%= required labelled_form_field _('Email'), text_field_tag(:author_email, @submission.author_email) %>
19 19 <% end %>
20 20  
21 21 <%= render :partial => 'shared/form_submission', :locals => {:f => f} %>
... ...