Commit 7ea4ee7369e3a8da0f5b8c97b596dc7ab5d692c1

Authored by Gabriel Silva
Committed by Daniela Feitosa
1 parent 0e741a07

Fixes modal fields display order

Signed-off-by: Gabriel Silva <gabriel93.silva@gmail.com>
Signed-off-by: Daniela Feitosa <danielafeitosa@colivre.coop.br>
src/noosfero-spb/gov_user/views/gov_user_plugin/_institution.html.erb
@@ -39,17 +39,11 @@ @@ -39,17 +39,11 @@
39 <%= fields_for :institutions do |inst| %> 39 <%= fields_for :institutions do |inst| %>
40 <div class="spb-row no-margin-top"> 40 <div class="spb-row no-margin-top">
41 <div class='spb-col spb-col-3'> 41 <div class='spb-col spb-col-3'>
42 - <label class="formlabel">  
43 - <%= radio_button_tag("institutions[type]" ,"PrivateInstitution", true)%>  
44 - <%= _("Private Institution") %>  
45 - </label> 42 + <%= labelled_radio_button _('Public Institution'), 'institutions[type]', 'PublicInstitution', true %>
46 </div> 43 </div>
47 44
48 <div class="spb-col spb-col-3"> 45 <div class="spb-col spb-col-3">
49 - <label class="formlabel">  
50 - <%= radio_button_tag("institutions[type]", "PublicInstitution") %>  
51 - <%= _("Public Institution") %>  
52 - </label> 46 + <%= labelled_radio_button _('Private Institution'), 'institutions[type]', 'PrivateInstitution' %>
53 </div> 47 </div>
54 48
55 <div class="spb-col spb-col-3"></div> 49 <div class="spb-col spb-col-3"></div>