diff --git a/app/views/offers/index.html.haml b/app/views/offers/index.html.haml
index 048e766..1008558 100644
--- a/app/views/offers/index.html.haml
+++ b/app/views/offers/index.html.haml
@@ -32,4 +32,4 @@
.offers
= render partial: "shared/posts", locals: { posts: @offers }
-= link_to_next_page @offers, t(".more"), remote: true, params: params
+= paginate @offers
\ No newline at end of file
diff --git a/app/views/organizations/_form.html.haml b/app/views/organizations/_form.html.haml
index e768490..0bc1f28 100644
--- a/app/views/organizations/_form.html.haml
+++ b/app/views/organizations/_form.html.haml
@@ -1,6 +1,5 @@
= simple_form_for @organization do |f|
= f.input :name
- = f.input :theme, collection: Organization::BOOTSWATCH_THEMES
= f.input :email
= f.input :phone
= f.input :web
@@ -9,5 +8,4 @@
= f.input :address
= f.input :neighborhood
= f.input :city
- = f.input :domain
= f.button :submit
diff --git a/app/views/statistics/statistics_demographics.html.haml b/app/views/statistics/statistics_demographics.html.haml
index 27f5bbe..ed7c556 100644
--- a/app/views/statistics/statistics_demographics.html.haml
+++ b/app/views/statistics/statistics_demographics.html.haml
@@ -2,7 +2,6 @@
.panel.panel-default
.panel-body
#pie
- #pie2
:javascript
window.onload = function () {
@@ -39,37 +38,5 @@
data: ages
}]
});
- // Por género
- var genders = #{ @gender_counts.to_a.to_json };
- $('#pie2').highcharts({
- chart: {
- plotBackgroundColor: null,
- plotBorderWidth: null,
- plotShadow: false
- },
- title: {
- text: "#{t '.by_gender'}"
- },
- tooltip: {
- pointFormat: '{series.name}: {point.y}'
- },
- plotOptions: {
- pie: {
- allowPointSelect: true,
- cursor: 'pointer',
- dataLabels: {
- enabled: true,
- color: '#000000',
- connectorColor: '#000000',
- format: '{point.name}: {point.percentage:.1f} %'
- }
- }
- },
- series: [{
- type: 'pie',
- name: '#{t '.num_people'}',
- data: genders
- }]
- });
}