Commit afa385ca44650b1f9906099a873644c78da2ba1f

Authored by Daniela Feitosa
2 parents dc2b6c84 7ea4ee73

Merge branch 'fix_modal_bugs' into 'master'

Fix modal bugs

Correção na ordem e visibilidade dos campos da modal de cadastro de instituições

See merge request !175
src/noosfero-spb/gov_user/views/gov_user_plugin/_institution.html.erb
@@ -31,17 +31,11 @@ @@ -31,17 +31,11 @@
31 <%= fields_for :institutions do |inst| %> 31 <%= fields_for :institutions do |inst| %>
32 <div class="spb-row no-margin-top"> 32 <div class="spb-row no-margin-top">
33 <div class='spb-col spb-col-3'> 33 <div class='spb-col spb-col-3'>
34 - <label class="formlabel">  
35 - <%= radio_button_tag("institutions[type]" ,"PrivateInstitution", true)%>  
36 - <%= _("Private Institution") %>  
37 - </label> 34 + <%= labelled_radio_button _('Public Institution'), 'institutions[type]', 'PublicInstitution', true %>
38 </div> 35 </div>
39 36
40 <div class="spb-col spb-col-3"> 37 <div class="spb-col spb-col-3">
41 - <label class="formlabel">  
42 - <%= radio_button_tag("institutions[type]", "PublicInstitution") %>  
43 - <%= _("Public Institution") %>  
44 - </label> 38 + <%= labelled_radio_button _('Private Institution'), 'institutions[type]', 'PrivateInstitution' %>
45 </div> 39 </div>
46 40
47 <div class="spb-col spb-col-3"></div> 41 <div class="spb-col spb-col-3"></div>