Commit afa385ca44650b1f9906099a873644c78da2ba1f
Exists in
master
and in
9 other branches
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
Showing
1 changed file
with
2 additions
and
8 deletions
Show diff stats
src/noosfero-spb/gov_user/views/gov_user_plugin/_institution.html.erb
| ... | ... | @@ -31,17 +31,11 @@ |
| 31 | 31 | <%= fields_for :institutions do |inst| %> |
| 32 | 32 | <div class="spb-row no-margin-top"> |
| 33 | 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 | 35 | </div> |
| 39 | 36 | |
| 40 | 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 | 39 | </div> |
| 46 | 40 | |
| 47 | 41 | <div class="spb-col spb-col-3"></div> | ... | ... |