Commit 7ea4ee7369e3a8da0f5b8c97b596dc7ab5d692c1
Committed by
Daniela Feitosa
1 parent
0e741a07
Exists in
master
and in
9 other branches
Fixes modal fields display order
Signed-off-by: Gabriel Silva <gabriel93.silva@gmail.com> Signed-off-by: Daniela Feitosa <danielafeitosa@colivre.coop.br>
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
... | ... | @@ -39,17 +39,11 @@ |
39 | 39 | <%= fields_for :institutions do |inst| %> |
40 | 40 | <div class="spb-row no-margin-top"> |
41 | 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 | 43 | </div> |
47 | 44 | |
48 | 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 | 47 | </div> |
54 | 48 | |
55 | 49 | <div class="spb-col spb-col-3"></div> | ... | ... |