Commit 51da3d1dc1b3ebf700dbd8d8e88dad50af27fd48
1 parent
1cad63aa
Exists in
master
and in
1 other branch
Fixes edit_institution view
Signed-off-by: Marcos Ronaldo <marcos.rpj2@gmail.com> Signed-off-by: Tallys Martins <tallysmartins@gmail.com>
Showing
1 changed file
with
7 additions
and
6 deletions
Show diff stats
src/noosfero-spb/gov_user/views/gov_user_plugin_myprofile/edit_institution.html.erb
... | ... | @@ -24,10 +24,10 @@ |
24 | 24 | </div> |
25 | 25 | |
26 | 26 | <div> |
27 | - <%= labelled_form_for :community,:html => { :multipart => true, :id=>"institution_form" } do |f| %> | |
27 | + <%= labelled_form_for :community, :html => { :multipart => true, :id=>"institution_form" } do |f| %> | |
28 | 28 | <%= hidden_field_tag "edit_institution_page", true %> |
29 | 29 | <%= fields_for :institutions do |inst| %> |
30 | - <div class="spb-row no-margin-top"> | |
30 | + <div class="spb-row no-margin-top"> | |
31 | 31 | <span class=''> |
32 | 32 | <div class='formfield type-radio'> |
33 | 33 | <div class='spb-col spb-col-2'> |
... | ... | @@ -51,7 +51,7 @@ |
51 | 51 | <%= inst.label("acronym" ,_("Acronym"), :class=>"formlabel") %> |
52 | 52 | <%= inst.text_field(:acronym, :value => @institution.acronym) %> |
53 | 53 | </div> |
54 | - </div> | |
54 | + </span> | |
55 | 55 | </div> |
56 | 56 | |
57 | 57 | <div class="spb-row"> |
... | ... | @@ -120,7 +120,7 @@ |
120 | 120 | |
121 | 121 | <div class="spb-row public-institutions-fields"> |
122 | 122 | <div class="spb-col spb-col-6"> |
123 | - <span class='required-field public-institutions-fields'> | |
123 | + <span class='public-institutions-fields'> | |
124 | 124 | <div class="formfield type-text"> |
125 | 125 | <%= inst.label("siorg_code" ,_("SIORG Code:"), :class=>"formlabel") %> |
126 | 126 | <%= inst.text_field(:siorg_code, :value => @institution.siorg_code) %> |
... | ... | @@ -149,18 +149,19 @@ |
149 | 149 | <% else %> |
150 | 150 | <%= inst.label("sisp", _("No")) %> |
151 | 151 | <% end %> |
152 | - </div> | |
152 | + </div> | |
153 | 153 | </span> |
154 | 154 | </div> |
155 | 155 | </div> |
156 | 156 | </div> |
157 | 157 | |
158 | + | |
158 | 159 | <div class="spb-row modal-form-actions"> |
159 | 160 | <div class="spb-col spb-col-6"> |
160 | 161 | <%= submit_button :save, _('Save') %> |
161 | 162 | <%= button(:cancel, _("Cancel"), {:controller => "profile", :action => 'index'}) %> |
162 | 163 | </div> |
163 | 164 | </div> |
164 | - | |
165 | 165 | <% end %> |
166 | 166 | <% end %> |
167 | +</div> | ... | ... |