muck-profiles 3.1.0 → 3.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.1.0
1
+ 3.1.1
@@ -9,13 +9,13 @@ location_id = 'location' -%>
9
9
  <%= f.text_field :first_name, { :label => t('muck.users.first_name') } %>
10
10
  <%= f.text_field :last_name, { :label => t('muck.users.last_name') } %>
11
11
  <%= f.text_field :email, { :label => t('muck.users.email') } %>
12
- <% f.fields_for(:profile, :builder => MuckEngine::FormBuilder) do |pf| %>
12
+ <%= f.fields_for(:profile, :builder => MuckEngine::FormBuilder) do |pf| %>
13
13
  <div id="edit_profile_image">
14
14
  <%= icon @user, :thumb %>
15
15
  <%= pf.file_field :photo, { :label => t('muck.profiles.upload_photo') } %>
16
16
  </div>
17
17
  <%= pf.text_field :location, {:id => location_id, :class => 'tags', :tip => t('muck.profiles.location_help'), :label => t('muck.profiles.location') } %>
18
- <%= location_suggestion(location_id) if @profile.location.blank? %>
18
+ <%= location_suggestion(location_id) if @profile.location.blank? && MuckProfiles.configuration.enable_geokit %>
19
19
  <%#= pf.text_field :skill_list, {:class => 'tags', :tip => t('muck.profiles.skills_help'), :label => t('muck.profiles.skills') } %>
20
20
  <%#= pf.text_field :interest_list, {:class => 'tags', :tip => t('muck.profiles.interests_help'), :label => t('muck.profiles.interests') } %>
21
21
  <%= pf.state_select(:state_id, {:tip => t('muck.profiles.state_help'), :label => t('muck.profiles.state')}) %>
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{muck-profiles}
8
- s.version = "3.1.0"
8
+ s.version = "3.1.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Justin Ball", "Joel Duffin"]
12
- s.date = %q{2010-11-18}
12
+ s.date = %q{2011-01-28}
13
13
  s.description = %q{Profile engine for the muck system.}
14
14
  s.email = %q{justin@tatemae.com}
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: muck-profiles
3
3
  version: !ruby/object:Gem::Version
4
- hash: 3
4
+ hash: 1
5
5
  prerelease: false
6
6
  segments:
7
7
  - 3
8
8
  - 1
9
- - 0
10
- version: 3.1.0
9
+ - 1
10
+ version: 3.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Justin Ball
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2010-11-18 00:00:00 -07:00
19
+ date: 2011-01-28 00:00:00 -07:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency