Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix people#edit form when mentoring is not enabled.

  • Loading branch information...
commit d7daf234ef763fcc590d2bc71a3990600833db8d 1 parent 0002acb
@reidab authored
Showing with 5 additions and 5 deletions.
  1. +5 −5 app/views/people/_form.html.haml
View
10 app/views/people/_form.html.haml
@@ -18,9 +18,9 @@
= f.input :mentor_topics
= f.input :interested_mentee
= f.input :mentee_topics
- = import_image_from_url_tags_for f, @person, :photo
- = f.input :reviewed, :input_html => {:value => true}, :as => :hidden
- - if current_user.admin?
- = f.input :user, :include_blank => "-- #{t('field.user.blankoption')} --", :label_method => :label_for_admin
- = hidden_field_tag :form_context, context
+ = import_image_from_url_tags_for f, @person, :photo
+ = f.input :reviewed, :input_html => {:value => true}, :as => :hidden
+ - if current_user.admin?
+ = f.input :user, :include_blank => "-- #{t('field.user.blankoption')} --", :label_method => :label_for_admin
+ = hidden_field_tag :form_context, context
= f.buttons
Please sign in to comment.
Something went wrong with that request. Please try again.