# HG changeset patch # User luisf # Date 1292521320 0 # Node ID dc252f2ddef5c0873d427b2c0356185b70f957da # Parent 596803cb34fc4689acaa523779985188e8f464e7 - Removed Wiki Toolbar from DEscription input box - Added the Institution dropdown to the registration view diff -r 596803cb34fc -r dc252f2ddef5 app/views/account/register.rhtml --- a/app/views/account/register.rhtml Thu Dec 16 14:55:37 2010 +0000 +++ b/app/views/account/register.rhtml Thu Dec 16 17:42:00 2010 +0000 @@ -35,11 +35,15 @@ <% fields_for :ssamr_user_details, :builder => TabularFormBuilder, :lang => current_language do |ssamr_user_detail| %>

- <%= ssamr_user_detail.text_area :description, :rows => 3, :cols => 40, :required => true, :class => 'wiki-edit' %> - <%= wikitoolbar_for 'ssamr_user_details_description' %> + <%= ssamr_user_detail.text_area :description, :rows => 3, :cols => 40, :required => true, :class => 'wiki-edit' %> <%=l(:text_user_ssamr_description_info)%>

+ +

+ + <%= collection_select(:ssamr_user_detail, :institution_id, Institution.all, :id, :name, {:prompt => true}) %> +

<% end %> diff -r 596803cb34fc -r dc252f2ddef5 config/locales/en-GB.yml --- a/config/locales/en-GB.yml Thu Dec 16 14:55:37 2010 +0000 +++ b/config/locales/en-GB.yml Thu Dec 16 17:42:00 2010 +0000 @@ -414,7 +414,7 @@ label_notifications: Important Message label_ssamr_description: Research description label_ssamr_details: Other Details - + label_ssamr_institution: Institution label_user: User label_user_plural: Users label_user_new: New user diff -r 596803cb34fc -r dc252f2ddef5 config/locales/en.yml --- a/config/locales/en.yml Thu Dec 16 14:55:37 2010 +0000 +++ b/config/locales/en.yml Thu Dec 16 17:42:00 2010 +0000 @@ -426,9 +426,9 @@ project_module_boards: Boards project_module_calendar: Calendar project_module_gantt: Gantt - label_tipoftheday: Tip of the day label_ssamr_details: Other Details + label_ssamr_institution: Institution label_user: User label_user_plural: Users label_user_new: New user