Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ed461a7c3e | ||
|
|
8cb8aea9ca | ||
|
|
cb1bf34588 | ||
|
|
93dc7b0c50 | ||
|
|
7a2187e839 | ||
|
|
5579877589 | ||
|
|
c65513fd0a | ||
|
|
7bd771dbc7 | ||
|
|
281caaf0fd | ||
|
|
dd5e22ea48 | ||
|
|
b30bd91f3d | ||
|
|
757ac487e5 | ||
|
|
5b069a1aa4 | ||
|
|
e86e6102d5 | ||
|
|
c0e5cd94d7 | ||
|
|
a4c408f501 | ||
|
|
cca7b30fba | ||
|
|
242e842100 | ||
|
|
7ce05f1ae4 | ||
|
|
51a2ace11d | ||
|
|
ee8e4a0009 | ||
|
|
4dc0a8e1a6 | ||
|
|
ecc5ac17b8 | ||
|
|
74193ab3cf | ||
|
|
cebccfdfda | ||
|
|
c3bfeed620 | ||
|
|
cfc1fbfd9f | ||
|
|
175c9bea4f | ||
|
|
5660d9d3d2 | ||
|
|
171f1780d2 | ||
|
|
9484a4cbd4 | ||
|
|
86e62ccda3 | ||
|
|
4082a8c6c9 | ||
|
|
995fd10a5d |
@@ -8,7 +8,8 @@
|
||||
/.bundle
|
||||
/.rspec
|
||||
.ruby-version
|
||||
|
||||
.env
|
||||
/avatars
|
||||
# Ignore all logfiles and tempfiles.
|
||||
/log/*
|
||||
!/log/.keep
|
||||
|
||||
@@ -7,6 +7,7 @@ AllCops:
|
||||
- config/**/*
|
||||
- spec/**/*
|
||||
- spec/dummy/config/initializers/secret_token.rb
|
||||
- lib/mail_chimp_batch_update.rb
|
||||
Documentation:
|
||||
Enabled: false
|
||||
LineLength:
|
||||
@@ -14,3 +15,5 @@ LineLength:
|
||||
Max: 160
|
||||
AbcSize:
|
||||
Enabled: false
|
||||
Style/FrozenStringLiteralComment:
|
||||
Enabled: false
|
||||
@@ -1,6 +1,6 @@
|
||||
services: mongodb
|
||||
language: ruby
|
||||
rvm:
|
||||
- 2.2
|
||||
- 2.3.1
|
||||
cache: bundler
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
source 'https://rubygems.org'
|
||||
|
||||
ruby '2.3.1'
|
||||
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
|
||||
gem 'rails', '~> 4.2'
|
||||
# Use SCSS for stylesheets
|
||||
@@ -11,17 +11,48 @@ gem 'coffee-rails', '~> 4.1.0'
|
||||
# See https://github.com/rails/execjs#readme for more supported runtimes
|
||||
# gem 'therubyracer', platforms: :ruby
|
||||
|
||||
# Integrate Paperclip into Mongoid.
|
||||
gem "mongoid-paperclip"
|
||||
|
||||
# To extend paperclip with locales
|
||||
gem 'paperclip-i18n'
|
||||
|
||||
# Amazon's S3 file hosting service
|
||||
gem 'aws-sdk'
|
||||
|
||||
# A fixtures replacement
|
||||
gem 'factory_girl'
|
||||
|
||||
# Use jquery as the JavaScript library
|
||||
gem 'jquery-rails'
|
||||
# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
|
||||
gem 'turbolinks'
|
||||
|
||||
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
|
||||
gem 'jbuilder', '~> 2.0'
|
||||
# bundle exec rake doc:rails generates the API under doc/api.
|
||||
gem 'sdoc', '~> 0.4.0', group: :doc
|
||||
|
||||
# Easily generate a Twitter Bootstrap navbar in your Rails app
|
||||
gem 'rails_bootstrap_navbar'
|
||||
|
||||
# Kaminari Mongoid adapter.
|
||||
gem 'kaminari-mongoid'
|
||||
gem 'kaminari-actionview'
|
||||
|
||||
# Translate routing
|
||||
gem 'route_translator'
|
||||
|
||||
# This gem hooks up your Rails application with Roadie to help you generate HTML emails.
|
||||
gem 'roadie-rails', '~> 1.0'
|
||||
|
||||
# Devise is a flexible authentication solution for Rails based on Warden.
|
||||
gem 'devise'
|
||||
|
||||
# Translations for devise
|
||||
gem 'devise-i18n'
|
||||
|
||||
# Simulate data
|
||||
gem 'faker'
|
||||
|
||||
# Use ActiveModel has_secure_password
|
||||
# gem 'bcrypt', '~> 3.1.7'
|
||||
|
||||
@@ -47,8 +78,6 @@ gem 'rails_admin'
|
||||
|
||||
gem 'mongoid_paranoia'
|
||||
|
||||
gem 'mailchimp-api', require: 'mailchimp'
|
||||
|
||||
group :development, :test do
|
||||
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
|
||||
gem 'byebug'
|
||||
@@ -60,6 +89,12 @@ group :development, :test do
|
||||
end
|
||||
|
||||
group :development do
|
||||
# A series of things you can use to benchmark a Rails or Ruby app.
|
||||
gem 'derailed_benchmarks'
|
||||
|
||||
# To use all profiling methods available
|
||||
gem 'stackprof'
|
||||
|
||||
# Access an IRB console on exception pages or by using <%= console %> in views
|
||||
gem 'web-console', '~> 2.0'
|
||||
|
||||
|
||||
@@ -1,62 +1,75 @@
|
||||
GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
actionmailer (4.2.6)
|
||||
actionpack (= 4.2.6)
|
||||
actionview (= 4.2.6)
|
||||
activejob (= 4.2.6)
|
||||
actionmailer (4.2.8)
|
||||
actionpack (= 4.2.8)
|
||||
actionview (= 4.2.8)
|
||||
activejob (= 4.2.8)
|
||||
mail (~> 2.5, >= 2.5.4)
|
||||
rails-dom-testing (~> 1.0, >= 1.0.5)
|
||||
actionpack (4.2.6)
|
||||
actionview (= 4.2.6)
|
||||
activesupport (= 4.2.6)
|
||||
actionpack (4.2.8)
|
||||
actionview (= 4.2.8)
|
||||
activesupport (= 4.2.8)
|
||||
rack (~> 1.6)
|
||||
rack-test (~> 0.6.2)
|
||||
rails-dom-testing (~> 1.0, >= 1.0.5)
|
||||
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
||||
actionview (4.2.6)
|
||||
activesupport (= 4.2.6)
|
||||
actionview (4.2.8)
|
||||
activesupport (= 4.2.8)
|
||||
builder (~> 3.1)
|
||||
erubis (~> 2.7.0)
|
||||
rails-dom-testing (~> 1.0, >= 1.0.5)
|
||||
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
||||
activejob (4.2.6)
|
||||
activesupport (= 4.2.6)
|
||||
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
||||
activejob (4.2.8)
|
||||
activesupport (= 4.2.8)
|
||||
globalid (>= 0.3.0)
|
||||
activemodel (4.2.6)
|
||||
activesupport (= 4.2.6)
|
||||
activemodel (4.2.8)
|
||||
activesupport (= 4.2.8)
|
||||
builder (~> 3.1)
|
||||
activerecord (4.2.6)
|
||||
activemodel (= 4.2.6)
|
||||
activesupport (= 4.2.6)
|
||||
activerecord (4.2.8)
|
||||
activemodel (= 4.2.8)
|
||||
activesupport (= 4.2.8)
|
||||
arel (~> 6.0)
|
||||
activesupport (4.2.6)
|
||||
activesupport (4.2.8)
|
||||
i18n (~> 0.7)
|
||||
json (~> 1.7, >= 1.7.7)
|
||||
minitest (~> 5.1)
|
||||
thread_safe (~> 0.3, >= 0.3.4)
|
||||
tzinfo (~> 1.1)
|
||||
addressable (2.4.0)
|
||||
arel (6.0.3)
|
||||
autoprefixer-rails (6.3.6.2)
|
||||
addressable (2.5.0)
|
||||
public_suffix (~> 2.0, >= 2.0.2)
|
||||
arel (6.0.4)
|
||||
autoprefixer-rails (6.7.7.1)
|
||||
execjs
|
||||
aws-sdk (2.9.7)
|
||||
aws-sdk-resources (= 2.9.7)
|
||||
aws-sdk-core (2.9.7)
|
||||
aws-sigv4 (~> 1.0)
|
||||
jmespath (~> 1.0)
|
||||
aws-sdk-resources (2.9.7)
|
||||
aws-sdk-core (= 2.9.7)
|
||||
aws-sigv4 (1.0.0)
|
||||
bcrypt (3.1.11)
|
||||
benchmark-ips (2.7.2)
|
||||
binding_of_caller (0.7.2)
|
||||
debug_inspector (>= 0.0.1)
|
||||
bootstrap-navbar (2.4.0)
|
||||
gem_config (~> 0.3)
|
||||
bootstrap-sass (3.3.6)
|
||||
bootstrap-sass (3.3.7)
|
||||
autoprefixer-rails (>= 5.2.1)
|
||||
sass (>= 3.3.4)
|
||||
bson (4.1.1)
|
||||
builder (3.2.2)
|
||||
byebug (9.0.5)
|
||||
capybara (2.7.1)
|
||||
bson (4.2.1)
|
||||
builder (3.2.3)
|
||||
byebug (9.0.6)
|
||||
capybara (2.13.0)
|
||||
addressable
|
||||
mime-types (>= 1.16)
|
||||
nokogiri (>= 1.3.3)
|
||||
rack (>= 1.0.0)
|
||||
rack-test (>= 0.5.4)
|
||||
xpath (~> 2.0)
|
||||
climate_control (0.1.0)
|
||||
cocaine (0.5.8)
|
||||
climate_control (>= 0.0.3, < 1.0)
|
||||
coderay (1.1.1)
|
||||
coffee-rails (4.1.1)
|
||||
coffee-script (>= 2.2.0)
|
||||
@@ -64,62 +77,94 @@ GEM
|
||||
coffee-script (2.4.1)
|
||||
coffee-script-source
|
||||
execjs
|
||||
coffee-script-source (1.10.0)
|
||||
concurrent-ruby (1.0.2)
|
||||
coffee-script-source (1.12.2)
|
||||
concurrent-ruby (1.0.5)
|
||||
css_parser (1.4.10)
|
||||
addressable
|
||||
debug_inspector (0.0.2)
|
||||
diff-lcs (1.2.5)
|
||||
dotenv (2.1.1)
|
||||
dotenv-rails (2.1.1)
|
||||
dotenv (= 2.1.1)
|
||||
railties (>= 4.0, < 5.1)
|
||||
derailed_benchmarks (1.3.2)
|
||||
benchmark-ips (~> 2)
|
||||
get_process_mem (~> 0)
|
||||
heapy (~> 0)
|
||||
memory_profiler (~> 0)
|
||||
rack (>= 1)
|
||||
rake (> 10, < 13)
|
||||
thor (~> 0.19)
|
||||
devise (4.2.1)
|
||||
bcrypt (~> 3.0)
|
||||
orm_adapter (~> 0.1)
|
||||
railties (>= 4.1.0, < 5.1)
|
||||
responders
|
||||
warden (~> 1.2.3)
|
||||
devise-i18n (1.1.2)
|
||||
diff-lcs (1.3)
|
||||
dotenv (2.2.0)
|
||||
dotenv-rails (2.2.0)
|
||||
dotenv (= 2.2.0)
|
||||
railties (>= 3.2, < 5.1)
|
||||
erubis (2.7.0)
|
||||
excon (0.49.0)
|
||||
execjs (2.7.0)
|
||||
font-awesome-rails (4.6.3.0)
|
||||
factory_girl (4.8.0)
|
||||
activesupport (>= 3.0.0)
|
||||
faker (1.7.2)
|
||||
i18n (~> 0.5)
|
||||
font-awesome-rails (4.7.0.1)
|
||||
railties (>= 3.2, < 5.1)
|
||||
gem_config (0.3.1)
|
||||
geocoder (1.3.7)
|
||||
globalid (0.3.6)
|
||||
geocoder (1.4.3)
|
||||
get_process_mem (0.2.1)
|
||||
globalid (0.3.7)
|
||||
activesupport (>= 4.1.0)
|
||||
haml (4.0.7)
|
||||
tilt
|
||||
i18n (0.7.0)
|
||||
jbuilder (2.5.0)
|
||||
activesupport (>= 3.0.0, < 5.1)
|
||||
heapy (0.1.2)
|
||||
i18n (0.8.1)
|
||||
jbuilder (2.6.3)
|
||||
activesupport (>= 3.0.0, < 5.2)
|
||||
multi_json (~> 1.2)
|
||||
jquery-rails (4.1.1)
|
||||
jmespath (1.3.1)
|
||||
jquery-rails (4.3.1)
|
||||
rails-dom-testing (>= 1, < 3)
|
||||
railties (>= 4.2.0)
|
||||
thor (>= 0.14, < 2.0)
|
||||
jquery-ui-rails (5.0.5)
|
||||
railties (>= 3.2.16)
|
||||
json (1.8.3)
|
||||
json (1.8.6)
|
||||
kaminari (0.17.0)
|
||||
actionpack (>= 3.0.0)
|
||||
activesupport (>= 3.0.0)
|
||||
kaminari-actionview (1.0.1)
|
||||
actionview
|
||||
kaminari-core (= 1.0.1)
|
||||
kaminari-core (1.0.1)
|
||||
kaminari-mongoid (1.0.1)
|
||||
kaminari-core (~> 1.0)
|
||||
mongoid
|
||||
loofah (2.0.3)
|
||||
nokogiri (>= 1.5.9)
|
||||
mail (2.6.4)
|
||||
mime-types (>= 1.16, < 4)
|
||||
mailchimp-api (2.0.6)
|
||||
excon (>= 0.16.0)
|
||||
json (>= 1.7.7)
|
||||
memory_profiler (0.9.8)
|
||||
method_source (0.8.2)
|
||||
mime-types (3.1)
|
||||
mime-types-data (~> 3.2015)
|
||||
mime-types-data (3.2016.0521)
|
||||
mimemagic (0.3.2)
|
||||
mini_portile2 (2.1.0)
|
||||
minitest (5.9.0)
|
||||
mongo (2.2.5)
|
||||
bson (~> 4.0)
|
||||
minitest (5.10.1)
|
||||
mongo (2.4.1)
|
||||
bson (>= 4.2.1, < 5.0.0)
|
||||
mongoid (5.0.2)
|
||||
activemodel (~> 4.0)
|
||||
mongo (~> 2.1)
|
||||
origin (~> 2.1)
|
||||
tzinfo (>= 0.3.37)
|
||||
mongoid-compatibility (0.4.0)
|
||||
mongoid-compatibility (0.4.1)
|
||||
activesupport
|
||||
mongoid (>= 2.0)
|
||||
mongoid-paperclip (0.0.11)
|
||||
mongoid
|
||||
paperclip (>= 2.3.6, != 4.3.0)
|
||||
mongoid-rspec (3.0.0)
|
||||
mongoid (~> 5.0)
|
||||
rake
|
||||
@@ -129,50 +174,57 @@ GEM
|
||||
mongoid-compatibility
|
||||
multi_json (1.12.1)
|
||||
nested_form (0.3.2)
|
||||
nokogiri (1.6.8)
|
||||
nokogiri (1.7.1)
|
||||
mini_portile2 (~> 2.1.0)
|
||||
pkg-config (~> 1.1.7)
|
||||
origin (2.2.0)
|
||||
pkg-config (1.1.7)
|
||||
pry (0.10.3)
|
||||
origin (2.3.0)
|
||||
orm_adapter (0.5.0)
|
||||
paperclip (5.1.0)
|
||||
activemodel (>= 4.2.0)
|
||||
activesupport (>= 4.2.0)
|
||||
cocaine (~> 0.5.5)
|
||||
mime-types
|
||||
mimemagic (~> 0.3.0)
|
||||
paperclip-i18n (4.3.0)
|
||||
pry (0.10.4)
|
||||
coderay (~> 1.1.0)
|
||||
method_source (~> 0.8.1)
|
||||
slop (~> 3.4)
|
||||
pry-rails (0.3.4)
|
||||
pry (>= 0.9.10)
|
||||
puma (3.4.0)
|
||||
rack (1.6.4)
|
||||
rack-pjax (0.8.0)
|
||||
pry-rails (0.3.6)
|
||||
pry (>= 0.10.4)
|
||||
public_suffix (2.0.5)
|
||||
puma (3.8.2)
|
||||
rack (1.6.5)
|
||||
rack-pjax (1.0.0)
|
||||
nokogiri (~> 1.5)
|
||||
rack (~> 1.1)
|
||||
rack (>= 1.1)
|
||||
rack-test (0.6.3)
|
||||
rack (>= 1.0)
|
||||
rails (4.2.6)
|
||||
actionmailer (= 4.2.6)
|
||||
actionpack (= 4.2.6)
|
||||
actionview (= 4.2.6)
|
||||
activejob (= 4.2.6)
|
||||
activemodel (= 4.2.6)
|
||||
activerecord (= 4.2.6)
|
||||
activesupport (= 4.2.6)
|
||||
rails (4.2.8)
|
||||
actionmailer (= 4.2.8)
|
||||
actionpack (= 4.2.8)
|
||||
actionview (= 4.2.8)
|
||||
activejob (= 4.2.8)
|
||||
activemodel (= 4.2.8)
|
||||
activerecord (= 4.2.8)
|
||||
activesupport (= 4.2.8)
|
||||
bundler (>= 1.3.0, < 2.0)
|
||||
railties (= 4.2.6)
|
||||
railties (= 4.2.8)
|
||||
sprockets-rails
|
||||
rails-deprecated_sanitizer (1.0.3)
|
||||
activesupport (>= 4.2.0.alpha)
|
||||
rails-dom-testing (1.0.7)
|
||||
rails-dom-testing (1.0.8)
|
||||
activesupport (>= 4.2.0.beta, < 5.0)
|
||||
nokogiri (~> 1.6.0)
|
||||
nokogiri (~> 1.6)
|
||||
rails-deprecated_sanitizer (>= 1.0.1)
|
||||
rails-html-sanitizer (1.0.3)
|
||||
loofah (~> 2.0)
|
||||
rails-i18n (4.0.8)
|
||||
rails-i18n (4.0.9)
|
||||
i18n (~> 0.7)
|
||||
railties (~> 4.0)
|
||||
rails_12factor (0.0.3)
|
||||
rails_serve_static_assets
|
||||
rails_stdout_logging
|
||||
rails_admin (0.8.1)
|
||||
rails_admin (1.1.1)
|
||||
builder (~> 3.1)
|
||||
coffee-rails (~> 4.0)
|
||||
font-awesome-rails (>= 3.0, < 5)
|
||||
@@ -181,85 +233,94 @@ GEM
|
||||
jquery-ui-rails (~> 5.0)
|
||||
kaminari (~> 0.14)
|
||||
nested_form (~> 0.3)
|
||||
rack-pjax (~> 0.7)
|
||||
rails (~> 4.0)
|
||||
remotipart (~> 1.0)
|
||||
safe_yaml (~> 1.0)
|
||||
rack-pjax (>= 0.7)
|
||||
rails (>= 4.0, < 6)
|
||||
remotipart (~> 1.3)
|
||||
sass-rails (>= 4.0, < 6)
|
||||
rails_bootstrap_navbar (2.0.1)
|
||||
bootstrap-navbar (~> 2.0)
|
||||
rails (>= 3.0.0)
|
||||
rails_serve_static_assets (0.0.5)
|
||||
rails_stdout_logging (0.0.5)
|
||||
railties (4.2.6)
|
||||
actionpack (= 4.2.6)
|
||||
activesupport (= 4.2.6)
|
||||
railties (4.2.8)
|
||||
actionpack (= 4.2.8)
|
||||
activesupport (= 4.2.8)
|
||||
rake (>= 0.8.7)
|
||||
thor (>= 0.18.1, < 2.0)
|
||||
rake (11.2.2)
|
||||
rdoc (4.2.2)
|
||||
json (~> 1.4)
|
||||
remotipart (1.2.1)
|
||||
rspec (3.4.0)
|
||||
rspec-core (~> 3.4.0)
|
||||
rspec-expectations (~> 3.4.0)
|
||||
rspec-mocks (~> 3.4.0)
|
||||
rspec-core (3.4.4)
|
||||
rspec-support (~> 3.4.0)
|
||||
rspec-expectations (3.4.0)
|
||||
rake (12.0.0)
|
||||
rdoc (4.3.0)
|
||||
remotipart (1.3.1)
|
||||
responders (2.3.0)
|
||||
railties (>= 4.2.0, < 5.1)
|
||||
roadie (3.2.1)
|
||||
css_parser (~> 1.4.5)
|
||||
nokogiri (>= 1.5.0, < 1.8.0)
|
||||
roadie-rails (1.1.1)
|
||||
railties (>= 3.0, < 5.1)
|
||||
roadie (~> 3.1)
|
||||
route_translator (4.4.1)
|
||||
actionpack (>= 3.2, < 5.0)
|
||||
activesupport (>= 3.2, < 5.0)
|
||||
rspec (3.5.0)
|
||||
rspec-core (~> 3.5.0)
|
||||
rspec-expectations (~> 3.5.0)
|
||||
rspec-mocks (~> 3.5.0)
|
||||
rspec-core (3.5.4)
|
||||
rspec-support (~> 3.5.0)
|
||||
rspec-expectations (3.5.0)
|
||||
diff-lcs (>= 1.2.0, < 2.0)
|
||||
rspec-support (~> 3.4.0)
|
||||
rspec-mocks (3.4.1)
|
||||
rspec-support (~> 3.5.0)
|
||||
rspec-mocks (3.5.0)
|
||||
diff-lcs (>= 1.2.0, < 2.0)
|
||||
rspec-support (~> 3.4.0)
|
||||
rspec-rails (3.4.2)
|
||||
actionpack (>= 3.0, < 4.3)
|
||||
activesupport (>= 3.0, < 4.3)
|
||||
railties (>= 3.0, < 4.3)
|
||||
rspec-core (~> 3.4.0)
|
||||
rspec-expectations (~> 3.4.0)
|
||||
rspec-mocks (~> 3.4.0)
|
||||
rspec-support (~> 3.4.0)
|
||||
rspec-support (3.4.1)
|
||||
safe_yaml (1.0.4)
|
||||
sass (3.4.22)
|
||||
sass-rails (5.0.4)
|
||||
railties (>= 4.0.0, < 5.0)
|
||||
rspec-support (~> 3.5.0)
|
||||
rspec-rails (3.5.2)
|
||||
actionpack (>= 3.0)
|
||||
activesupport (>= 3.0)
|
||||
railties (>= 3.0)
|
||||
rspec-core (~> 3.5.0)
|
||||
rspec-expectations (~> 3.5.0)
|
||||
rspec-mocks (~> 3.5.0)
|
||||
rspec-support (~> 3.5.0)
|
||||
rspec-support (3.5.0)
|
||||
sass (3.4.23)
|
||||
sass-rails (5.0.6)
|
||||
railties (>= 4.0.0, < 6)
|
||||
sass (~> 3.1)
|
||||
sprockets (>= 2.8, < 4.0)
|
||||
sprockets-rails (>= 2.0, < 4.0)
|
||||
tilt (>= 1.1, < 3)
|
||||
sdoc (0.4.1)
|
||||
sdoc (0.4.2)
|
||||
json (~> 1.7, >= 1.7.7)
|
||||
rdoc (~> 4.0)
|
||||
simple_form (3.2.1)
|
||||
simple_form (3.4.0)
|
||||
actionpack (> 4, < 5.1)
|
||||
activemodel (> 4, < 5.1)
|
||||
slim (3.0.7)
|
||||
temple (~> 0.7.6)
|
||||
tilt (>= 1.3.3, < 2.1)
|
||||
slim-rails (3.1.0)
|
||||
slim-rails (3.1.2)
|
||||
actionpack (>= 3.1)
|
||||
railties (>= 3.1)
|
||||
slim (~> 3.0)
|
||||
slop (3.6.0)
|
||||
sprockets (3.6.1)
|
||||
sprockets (3.7.1)
|
||||
concurrent-ruby (~> 1.0)
|
||||
rack (> 1, < 3)
|
||||
sprockets-rails (3.0.4)
|
||||
sprockets-rails (3.2.0)
|
||||
actionpack (>= 4.0)
|
||||
activesupport (>= 4.0)
|
||||
sprockets (>= 3.0.0)
|
||||
stackprof (0.2.10)
|
||||
temple (0.7.7)
|
||||
thor (0.19.1)
|
||||
thread_safe (0.3.5)
|
||||
tilt (2.0.5)
|
||||
turbolinks (2.5.3)
|
||||
coffee-rails
|
||||
tzinfo (1.2.2)
|
||||
thor (0.19.4)
|
||||
thread_safe (0.3.6)
|
||||
tilt (2.0.7)
|
||||
tzinfo (1.2.3)
|
||||
thread_safe (~> 0.1)
|
||||
uglifier (3.0.0)
|
||||
uglifier (3.1.10)
|
||||
execjs (>= 0.3.0, < 3)
|
||||
warden (1.2.7)
|
||||
rack (>= 1.0)
|
||||
web-console (2.3.0)
|
||||
activemodel (>= 4.0)
|
||||
binding_of_caller (>= 0.7.2)
|
||||
@@ -272,18 +333,27 @@ PLATFORMS
|
||||
ruby
|
||||
|
||||
DEPENDENCIES
|
||||
aws-sdk
|
||||
bootstrap-sass (~> 3.3.5)
|
||||
byebug
|
||||
capybara
|
||||
coffee-rails (~> 4.1.0)
|
||||
derailed_benchmarks
|
||||
devise
|
||||
devise-i18n
|
||||
dotenv-rails
|
||||
factory_girl
|
||||
faker
|
||||
geocoder
|
||||
jbuilder (~> 2.0)
|
||||
jquery-rails
|
||||
mailchimp-api
|
||||
kaminari-actionview
|
||||
kaminari-mongoid
|
||||
mongoid (~> 5.0.0)
|
||||
mongoid-paperclip
|
||||
mongoid-rspec (= 3.0.0)
|
||||
mongoid_paranoia
|
||||
paperclip-i18n
|
||||
pry-rails
|
||||
puma
|
||||
rails (~> 4.2)
|
||||
@@ -291,15 +361,20 @@ DEPENDENCIES
|
||||
rails_12factor
|
||||
rails_admin
|
||||
rails_bootstrap_navbar
|
||||
roadie-rails (~> 1.0)
|
||||
route_translator
|
||||
rspec-rails (~> 3.0)
|
||||
sass-rails (~> 5.0)
|
||||
sdoc (~> 0.4.0)
|
||||
simple_form
|
||||
slim
|
||||
slim-rails
|
||||
turbolinks
|
||||
stackprof
|
||||
uglifier (>= 1.3.0)
|
||||
web-console (~> 2.0)
|
||||
|
||||
RUBY VERSION
|
||||
ruby 2.3.1p112
|
||||
|
||||
BUNDLED WITH
|
||||
1.14.6
|
||||
|
||||
|
After Width: | Height: | Size: 44 KiB |
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 185 KiB |
|
After Width: | Height: | Size: 292 KiB |
@@ -12,7 +12,6 @@
|
||||
//
|
||||
//= require jquery
|
||||
//= require jquery_ujs
|
||||
//= require turbolinks
|
||||
//= require bootstrap-sprockets
|
||||
//= require typeahead.bundle
|
||||
//= require markerclusterer_compiled
|
||||
|
||||
@@ -13,34 +13,53 @@
|
||||
*= require_tree .
|
||||
*= require_self
|
||||
*/
|
||||
|
||||
$brand-success: #66903F
|
||||
$navbar-default-bg: #FFF
|
||||
$navbar-default-border: none
|
||||
$font-size-base: 14px
|
||||
$navbar-padding-horizontal: none
|
||||
$navbar-default-link-color: #66903F
|
||||
$navbar-default-link-active-bg: #FFF
|
||||
$font-size-h1: floor($font-size-base * 2)
|
||||
$font-size-h2: floor($font-size-base * 1.8)
|
||||
$font-size-h3: floor($font-size-base * 1.5)
|
||||
|
||||
@import "variables"
|
||||
@import "bootstrap-sprockets"
|
||||
@import "bootstrap"
|
||||
@import "typeaheadjs"
|
||||
@import "footnotes"
|
||||
@import "statements"
|
||||
|
||||
.alert-alert
|
||||
@extend .alert-danger
|
||||
|
||||
.alert-notice
|
||||
@extend .alert-info
|
||||
|
||||
body.admin
|
||||
background: repeating-linear-gradient(45deg, yellow, yellow 50px, black 50px, black 100px)
|
||||
|
||||
body
|
||||
nav.languages
|
||||
position: absolute
|
||||
top: 12px
|
||||
right: 12px
|
||||
|
||||
> .container
|
||||
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)
|
||||
padding-top: 20px
|
||||
|
||||
padding: 20px
|
||||
margin-top: 10px
|
||||
background: #FFF
|
||||
header
|
||||
.pagelogo
|
||||
max-height: 91px
|
||||
h1
|
||||
font-size: 20px
|
||||
margin-top: 35px
|
||||
|
||||
.navbar
|
||||
.container
|
||||
padding-left: 0px
|
||||
|
||||
ul#topnav
|
||||
font-size: 1.5em
|
||||
font-size: 1.2em
|
||||
|
||||
li
|
||||
text-transform: uppercase
|
||||
|
||||
ul
|
||||
li
|
||||
text-transform: none
|
||||
|
||||
li.active
|
||||
border-bottom: 1px solid #66903F
|
||||
@@ -74,3 +93,39 @@ body
|
||||
|
||||
.text-success
|
||||
color: $brand-success
|
||||
|
||||
.portrait
|
||||
display: block
|
||||
float: left
|
||||
margin: 12px
|
||||
|
||||
.table-inherit
|
||||
width: inherit
|
||||
|
||||
footer
|
||||
h2
|
||||
margin: 0px
|
||||
font-size: $font-size-base
|
||||
|
||||
ol
|
||||
padding-left: 1em
|
||||
|
||||
.donation_button
|
||||
height: 50px
|
||||
background: $brand-success
|
||||
width: 200px
|
||||
text-align: center
|
||||
font-size: 18px
|
||||
line-height: 50px
|
||||
font-family: sans-serif
|
||||
color: #FFF
|
||||
transform: rotate(-45deg)
|
||||
position: relative
|
||||
top: 26px
|
||||
left: -47px
|
||||
box-shadow: inset 0px 0px 0px 4px rgba(255, 255, 255, 0.34)
|
||||
|
||||
a
|
||||
color: #FFF
|
||||
|
||||
|
||||
@@ -0,0 +1,49 @@
|
||||
/**
|
||||
* Initialiazing a `footnotes` counter on the wrapper
|
||||
*/
|
||||
article {
|
||||
counter-reset: footnotes;
|
||||
}
|
||||
|
||||
/**
|
||||
* Inline footnotes references
|
||||
* 1. Increment the counter at each new reference
|
||||
* 2. Reset link styles to make it appear like regular text
|
||||
*/
|
||||
a[aria-describedby="footnote-label"] {
|
||||
counter-increment: footnotes; /* 1 */
|
||||
text-decoration: none; /* 2 */
|
||||
color: inherit; /* 2 */
|
||||
cursor: default; /* 2 */
|
||||
outline: none; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Actual numbered references
|
||||
* 1. Display the current state of the counter (e.g. `[1]`)
|
||||
* 2. Align text as superscript
|
||||
* 3. Make the number smaller (since it's superscript)
|
||||
* 4. Slightly offset the number from the text
|
||||
* 5. Reset link styles on the number to show it's usable
|
||||
*/
|
||||
a[aria-describedby="footnote-label"]::after {
|
||||
content: '[' counter(footnotes) ']'; /* 1 */
|
||||
vertical-align: super; /* 2 */
|
||||
font-size: 0.5em; /* 3 */
|
||||
margin-left: 2px; /* 4 */
|
||||
color: blue; /* 5 */
|
||||
text-decoration: underline; /* 5 */
|
||||
cursor: pointer; /* 5 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Resetting the default focused styles on the number
|
||||
*/
|
||||
a[aria-describedby="footnote-label"]:focus::after {
|
||||
outline: thin dotted;
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
footer :target {
|
||||
background: yellow;
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
@import "variables"
|
||||
|
||||
.statement
|
||||
display: inline-table
|
||||
width: 45%
|
||||
margin: 5px
|
||||
|
||||
img
|
||||
margin-right: 14px
|
||||
float: left
|
||||
|
||||
h2
|
||||
font-size: $font-size-base
|
||||
margin: 0px
|
||||
display: inline
|
||||
|
||||
@media (max-width: 800px)
|
||||
.statement
|
||||
display: block
|
||||
width: 100%
|
||||
margin: 5px
|
||||
@@ -0,0 +1,10 @@
|
||||
$brand-success: #66903F
|
||||
$navbar-default-bg: #FFF
|
||||
$navbar-default-border: none
|
||||
$font-size-base: 14px
|
||||
$navbar-padding-horizontal: none
|
||||
$navbar-default-link-color: #66903F
|
||||
$navbar-default-link-active-bg: #FFF
|
||||
$font-size-h1: floor($font-size-base * 1.8)
|
||||
$font-size-h2: floor($font-size-base * 1.5)
|
||||
$font-size-h3: floor($font-size-base * 1.2)
|
||||
@@ -1,3 +1,15 @@
|
||||
class Admin::ApplicationController < ApplicationController
|
||||
http_basic_authenticate_with name: 'admin', password: ENV['ADMIN_PASSWORD'] unless Rails.env.development?
|
||||
module Admin
|
||||
class ApplicationController < ::ApplicationController
|
||||
before_action :authenticate_supporter!
|
||||
before_action :authenticate_admin!
|
||||
|
||||
def authenticate_admin!
|
||||
return true if current_supporter.admin?
|
||||
head(:forbidden)
|
||||
end
|
||||
|
||||
def admin_area
|
||||
true
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
class Admin::PagesController < Admin::ApplicationController
|
||||
def map
|
||||
@supporters = Supporter.where(:coordinates.ne => nil).only(:coordinates, :support)
|
||||
module Admin
|
||||
class PagesController < Admin::ApplicationController
|
||||
def map
|
||||
@supporters = Supporter.where(:coordinates.ne => nil).only(:coordinates, :support)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
module Admin
|
||||
class PublicitiesController < Admin::ApplicationController
|
||||
def index
|
||||
@pending = Supporter.where('publicity.state' => :pending).asc(:created_at)
|
||||
@active = Supporter.where('publicity.state' => :approved).asc(:created_at)
|
||||
end
|
||||
|
||||
def edit
|
||||
@publicity = Supporter.find(params[:id]).publicity
|
||||
end
|
||||
|
||||
def update
|
||||
@publicity = Supporter.find(params[:id]).publicity
|
||||
return redirect_to(admin_publicities_path) if @publicity.update_attributes(publicity_params)
|
||||
render :edit
|
||||
end
|
||||
|
||||
def destroy
|
||||
current_supporter.publicity&.destroy
|
||||
redirect_to(admin_publicities_path)
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def publicity_params
|
||||
params.require(:publicity).permit(:organisation, :statement, :avatar, :state)
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -4,6 +4,7 @@ class ApplicationController < ActionController::Base
|
||||
protect_from_forgery with: :exception
|
||||
|
||||
before_action :set_locale
|
||||
before_action :configure_permitted_parameters, if: :devise_controller?
|
||||
|
||||
INPUT_TIMEOUT = 2.seconds # We estimate that a user needs more then x seconds to enter some informations
|
||||
|
||||
@@ -27,4 +28,14 @@ class ApplicationController < ActionController::Base
|
||||
def default_url_options(options = {})
|
||||
options.merge locale: I18n.locale
|
||||
end
|
||||
|
||||
def admin_area
|
||||
false
|
||||
end
|
||||
|
||||
protected
|
||||
|
||||
def configure_permitted_parameters
|
||||
devise_parameter_sanitizer.permit(:account_update, keys: [:first_name, :last_name, :street, :city, :zip, :support, :language, :age_category])
|
||||
end
|
||||
end
|
||||
|
||||
@@ -1,5 +1,16 @@
|
||||
class PagesController < ApplicationController
|
||||
def map
|
||||
@supporters = Supporter.where(:coordinates.ne => nil).only(:coordinates, :support)
|
||||
def show
|
||||
if valid_page?
|
||||
render template: "pages/#{params[:page]}"
|
||||
else
|
||||
render plain: t('.not_found'), status: :not_found
|
||||
end
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def valid_page?
|
||||
return true if File.exist?("#{Rails.root}/app/views/pages/#{params[:page]}.#{I18n.locale}.slim")
|
||||
return true if File.exist?("#{Rails.root}/app/views/pages/#{params[:page]}.#{I18n.default_locale}.slim")
|
||||
end
|
||||
end
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
class PublicitiesController < ApplicationController
|
||||
before_action :authenticate_supporter!
|
||||
|
||||
def new
|
||||
@publicity = current_supporter.publicity || Publicity.new
|
||||
end
|
||||
|
||||
def create
|
||||
@publicity = Publicity.new(publicity_params.merge(supporter: current_supporter, state: :pending))
|
||||
flash['success'] = t('.success') if @publicity.valid?
|
||||
return redirect_to(root_path) if @publicity.save
|
||||
render :new
|
||||
end
|
||||
|
||||
def update
|
||||
create
|
||||
end
|
||||
|
||||
def destroy
|
||||
current_supporter.publicity&.destroy
|
||||
redirect_to(root_path)
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def publicity_params
|
||||
params.require(:publicity).permit(:organisation, :statement, :avatar)
|
||||
end
|
||||
end
|
||||
@@ -7,9 +7,10 @@ class SupportersController < ApplicationController
|
||||
|
||||
def create
|
||||
@supporter = Supporter.new supporter_form_params.merge(language: I18n.locale)
|
||||
@supporter.password = random_password = SecureRandom.hex(5)
|
||||
if !input_to_fast? && @supporter.save
|
||||
# SupporterMailer.welcome_email(@supporter).deliver_now
|
||||
mailchimp_registration
|
||||
SupporterMailer.welcome_email(@supporter, random_password).deliver_now
|
||||
sendy_registraion
|
||||
redirect_to thanks_path
|
||||
else
|
||||
flash.now[:danger] = input_to_fast? ? t('.timeout') : t('input_error')
|
||||
@@ -23,20 +24,11 @@ class SupportersController < ApplicationController
|
||||
params.require(:supporter).permit(:first_name, :last_name, :street, :zip, :email, :support, :li_membership, :age_category, :city, :comments)
|
||||
end
|
||||
|
||||
def mailchimp_registration
|
||||
return unless Rails.env.production?
|
||||
mailchimp = Mailchimp::API.new(ENV['MAILCHIMP_API'])
|
||||
mailchimp.lists.subscribe(ENV['CH420_LIST_ID'], { 'email' => @supporter.email }, merge_vars, 'html', false)
|
||||
end
|
||||
|
||||
def merge_vars
|
||||
{ 'EMAIL' => @supporter.email,
|
||||
'FNAME' => @supporter.first_name,
|
||||
'LNAME' => @supporter.last_name,
|
||||
'SUPPORT' => @supporter.support,
|
||||
'MEMBERSHIP' => @supporter.li_membership.to_s,
|
||||
'AGE' => @supporter.age_category,
|
||||
'LANG' => @supporter.language,
|
||||
'ZIP' => @supporter.zip }
|
||||
# We use sendy for newsletters atm
|
||||
def sendy_registraion
|
||||
uri = URI('http://newsletter.cannabis-initiative.ch/subscribe')
|
||||
Net::HTTP.post_form(uri, list: ENV["SENDY_LIST_#{I18n.locale.upcase}"],
|
||||
email: @supporter.email,
|
||||
name: "#{@supporter.first_name} #{@supporter.last_name}")
|
||||
end
|
||||
end
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
class SupporterMailer < ApplicationMailer
|
||||
def welcome_email(supporter)
|
||||
include Roadie::Rails::Automatic
|
||||
|
||||
def welcome_email(supporter, random_password)
|
||||
@supporter = supporter
|
||||
@password = random_password
|
||||
mail(to: @supporter.email, subject: I18n.t('welcome_email.subject'))
|
||||
end
|
||||
end
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
class Publicity
|
||||
include Mongoid::Document
|
||||
include Mongoid::Timestamps
|
||||
include Mongoid::Paperclip
|
||||
|
||||
has_mongoid_attached_file :avatar,
|
||||
path: ':attachment/:id/:style.:extension',
|
||||
styles: {
|
||||
original: ['1920x1680>', :jpg],
|
||||
small: ['100x100#', :jpg],
|
||||
medium: ['250x250', :jpg],
|
||||
large: ['500x500>', :jpg]
|
||||
},
|
||||
convert_options: { all: '-background white -flatten +matte' }
|
||||
|
||||
embedded_in :supporter
|
||||
|
||||
field :state, type: String, default: 'pending' # Possible states: pending, approved
|
||||
field :organisation, type: String
|
||||
field :statement, type: String
|
||||
|
||||
validates :state, presence: true
|
||||
validates :avatar, presence: true
|
||||
validates :statement, presence: true
|
||||
validates_attachment_content_type :avatar, content_type: /\Aimage/
|
||||
end
|
||||
@@ -6,6 +6,30 @@ class Supporter
|
||||
|
||||
COUNTER_START = 10_003
|
||||
|
||||
# Include default devise modules. Others available are:
|
||||
# :confirmable, :lockable, :timeoutable and :omniauthable
|
||||
devise :database_authenticatable, :registerable,
|
||||
:recoverable, :rememberable, :trackable, :validatable
|
||||
|
||||
## Database authenticatable
|
||||
field :email, type: String, default: ''
|
||||
field :encrypted_password, type: String, default: ''
|
||||
field :admin, type: Boolean, default: false
|
||||
|
||||
## Recoverable
|
||||
field :reset_password_token, type: String
|
||||
field :reset_password_sent_at, type: Time
|
||||
|
||||
## Rememberable
|
||||
field :remember_created_at, type: Time
|
||||
|
||||
## Trackable
|
||||
field :sign_in_count, type: Integer, default: 0
|
||||
field :current_sign_in_at, type: Time
|
||||
field :last_sign_in_at, type: Time
|
||||
field :current_sign_in_ip, type: String
|
||||
field :last_sign_in_ip, type: String
|
||||
|
||||
geocoded_by :address
|
||||
after_validation :geocode # auto-fetch coordinates
|
||||
|
||||
@@ -14,14 +38,12 @@ class Supporter
|
||||
field :street, type: String
|
||||
field :zip, type: Integer
|
||||
field :city, type: String
|
||||
field :email, type: String
|
||||
field :support, type: String # Indicates the type of support
|
||||
field :li_membership, type: Boolean, default: false
|
||||
field :age_category, type: String
|
||||
field :coordinates, type: Array
|
||||
field :comments, type: String
|
||||
field :language, type: String
|
||||
field :unsubscribed, type: Boolean, default: false
|
||||
field :duplicate, type: Boolean, default: false
|
||||
|
||||
validates :first_name, presence: true
|
||||
@@ -34,6 +56,8 @@ class Supporter
|
||||
validates :age_category, presence: true
|
||||
validates :language, presence: true
|
||||
|
||||
embeds_one :publicity
|
||||
|
||||
def self.counter
|
||||
actual = count.to_i
|
||||
actual > COUNTER_START ? actual : COUNTER_START
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
h1= title "#{t('.title')} #{@publicity.supporter.first_name} #{@publicity.supporter.last_name}, #{@publicity.supporter.city}"
|
||||
= simple_form_for(@publicity, url: admin_publicity_path(@publicity.supporter)) do |form|
|
||||
.form-group
|
||||
= "#{@publicity.supporter.first_name} #{@publicity.supporter.last_name}, #{@publicity.supporter.city}"
|
||||
|
||||
= form.input :organisation, required: false
|
||||
= form.input :statement, as: :text, required: false
|
||||
= form.input :avatar, as: :file, required: false
|
||||
- if @publicity.avatar
|
||||
.form-group
|
||||
= image_tag(@publicity.avatar.url(:medium))
|
||||
= form.input :state, as: :radio_buttons, collection: t('publicity_states').map{ |x| [x.first, raw(x.last)]}, label_method: :last, value_method: :first, required: false
|
||||
= form.submit t('shared.save'), class: 'btn btn-primary'
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
= render 'form'
|
||||
@@ -0,0 +1,19 @@
|
||||
h1 = title t('.title')
|
||||
table.table
|
||||
tbody
|
||||
- @pending.each do | supporter |
|
||||
tr
|
||||
td
|
||||
= "#{supporter.first_name} #{supporter.last_name}"
|
||||
br
|
||||
= supporter.city
|
||||
br
|
||||
= mail_to supporter.email, supporter.email
|
||||
br
|
||||
= supporter.publicity.organisation
|
||||
td width="50%" = supporter.publicity.statement
|
||||
td = image_tag(supporter.publicity.avatar.url(:small))
|
||||
td = link_to t('shared.edit'), edit_admin_publicity_path(supporter)
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
address
|
||||
| Verein Legalize it! <br/>
|
||||
| Quellenstrasse 25 <br/>
|
||||
| Postfach 2159 <br/>
|
||||
| CH-8031 Zürich
|
||||
@@ -0,0 +1,7 @@
|
||||
h2 Kontakt
|
||||
p
|
||||
| Nino Forrer (#{mail_to 'nino@hanflegal.ch'})
|
||||
em Strategie / Presse
|
||||
br
|
||||
| Markus Graf (#{mail_to 'markus@hanflegal.ch'})
|
||||
em Inhalt / Technik
|
||||
@@ -0,0 +1,7 @@
|
||||
h2 Contatti
|
||||
p
|
||||
| Nino Forrer (#{mail_to 'nino@hanflegal.ch'})
|
||||
em Strategie / Presse
|
||||
br
|
||||
| Markus Graf (#{mail_to 'markus@hanflegal.ch'})
|
||||
em Inhalt / Technik
|
||||
@@ -0,0 +1,5 @@
|
||||
h2 Ziele der Initiative
|
||||
ol
|
||||
li Erwachsene haben genauso die Freiheit und das Recht Cannabis zu konsumieren, wie Alkohol oder Tabak.
|
||||
li Niemand muss gezwungen sein, sich auf dem Schwarzmarkt zu bedienen.
|
||||
li Steuereinnahmen und Einsparungen aus der Strafverfolgung sollen der Prävention, der Forschung oder den Sozialversicherungen zugutekommen.
|
||||
@@ -0,0 +1,6 @@
|
||||
h2 Obiettivi dell'iniziativa
|
||||
ol
|
||||
li Gli Adulti hanno la libertà e il diritto di consumare cannabis, come l'alcool o il tabacco.
|
||||
li Nessuno dovrebbe essere costretto ad operare sul mercato nero.
|
||||
li Il gettito fiscale e risparmi da forze dell'ordine di beneficiare della prevenzione, della ricerca o sociale.
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
.donation_button
|
||||
=link_to t('donation'), donation_path
|
||||
@@ -1,11 +1,12 @@
|
||||
doctype html
|
||||
html lang="#{I18n.locale}"
|
||||
head
|
||||
title
|
||||
- flash.each do |type, message|
|
||||
= message
|
||||
| #CH420 - #{content_for(:title)}
|
||||
= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true
|
||||
= javascript_include_tag 'application', 'data-turbolinks-track' => true
|
||||
= stylesheet_link_tag 'application', media: 'all'
|
||||
= javascript_include_tag 'application'
|
||||
= csrf_meta_tags
|
||||
link href="/apple-icon-57x57.png" rel="apple-touch-icon" sizes="57x57" /
|
||||
link href="/apple-icon-60x60.png" rel="apple-touch-icon" sizes="60x60" /
|
||||
@@ -25,7 +26,8 @@ html lang="#{I18n.locale}"
|
||||
meta content="/ms-icon-144x144.png" name="msapplication-TileImage" /
|
||||
meta content="#ffffff" name="theme-color" /
|
||||
|
||||
body
|
||||
body class="#{'admin' if controller.admin_area}"
|
||||
= render 'donation_button'
|
||||
javascript:
|
||||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
||||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
||||
@@ -35,9 +37,28 @@ html lang="#{I18n.locale}"
|
||||
ga('create', 'UA-79948850-1', 'auto');
|
||||
ga('send', 'pageview');
|
||||
|
||||
/ = console if Rails.env.development?
|
||||
nav.languages
|
||||
h2.sr-only =t('.lang')
|
||||
a href='/' lang='de'
|
||||
| Deutsch
|
||||
| |
|
||||
a href='/it' lang='it'
|
||||
| Italiano
|
||||
| |
|
||||
a href='/fr' lang='fr'
|
||||
| Français
|
||||
br/
|
||||
.container
|
||||
= render 'shared/flashes'
|
||||
= render 'shared/header'
|
||||
= render 'shared/topnavigation'
|
||||
= render 'shared/flashes'
|
||||
= yield
|
||||
hr
|
||||
footer.row
|
||||
.col-xs-12.col-sm-6
|
||||
= render 'core_statements'
|
||||
.col-xs-12.col-sm-4
|
||||
= render 'contact'
|
||||
.col-xs-12.col-sm-2
|
||||
= render 'address'
|
||||
|
||||
@@ -2,5 +2,6 @@ doctype html
|
||||
html
|
||||
head
|
||||
meta content=("text/html; charset=UTF-8") http-equiv="Content-Type" /
|
||||
= stylesheet_link_tag 'application', media: 'all'
|
||||
body style='padding: 20px; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px;'
|
||||
= yield
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
.row
|
||||
.col-xs-12.col-sm-6
|
||||
h1= title 'Argumentarium'
|
||||
h2 Konsum
|
||||
p Cannabis als Genussmittel und Medizin ist seit Urzeiten ein fester Bestandteil unserer Gesellschaft. Die vorliegende Initiative hat zum Ziel, Konsumentinnen und Konsumenten, welche einen verantwortungsvollen Umgang mit psychoaktiven Substanzen der Cannabispflanze pflegen, nicht mehr gesetzlich zu verfolgen.
|
||||
h2 Jugendschutz
|
||||
p Der Umgang mit Cannabis soll nur Erwachsenen vorbehalten sein. Damit wird die Strategie des Jugendschutzes, die der Bund momentan verfolgt, nicht weiter eingeschränkt. Erwachsene, welche Minderjährigen Zugang gewähren, sollen weiterhin bestraft werden.
|
||||
h2 Anbau und Handel
|
||||
p Der gewerbliche Anbau und Handel unter staatlicher Kontrolle soll den Schwarzmarkt austrocknen und den Konsumenten den Zugang zu hochwertigen Produkten ermöglichen. Zusätzlich sollen Gewinne durch Steuereinnahmen an den Staat gehen und nicht in die Taschen von kriminellen Organisationen fliessen, die damit unter anderem den Terror finanzieren.
|
||||
h2 Privater Anbau
|
||||
p Cannabis ist eine uralte Kulturpflanze, die relativ genügsam ist und auf jedem Balkon gezogen werden kann. Viele Konsumierende und Patientinnen und Patienten tun dies für ihren eigenen Konsum, meist aus Freude an der Gartenarbeit und mit der Gewissheit, keine Streckmittel zu konsumieren. Sobald der Anbau einem wirtschaftlichen Zweck dient, müssen jedoch gewisse Anbaubedingungen erfüllt werden. Welche Bedingungen erfüllt werden müssen, wird vom Gesetzgeber noch bestimmt.
|
||||
h2 Gesundheit und Medizin
|
||||
p Gesundheitliche Risiken beim Cannabis-Konsum sind moderat, insbesondere bei Konsumformen, bei welchen keine Verbrennungsprozesse ablaufen. Alkohol und Tabak sind insbesondere für Erwachsene meist gefährlicher als der gelegentliche Cannabiskonsum. Entsprechend dient die Initiative der Aufklärung, in dem sie die Gefährlichkeit von anderen Substanzen hervorhebt und der Stigmatisierung von Cannabiskonsumierenden entgegenhält.
|
||||
|
||||
p Im Gegensatz zu anderen bereits legalen Substanzen bietet Cannabis auch breite therapeutische Möglichkeiten. In vielen Ländern ist Cannabis als Medizin erfolgreich ein Teil der öffentlichen Gesundheitsversorgung. In der Schweiz wird sogar die Selbstmedikation unter Strafe gestellt bei Patientinnen und Patienten, die nachweislich keine andere Möglichkeit mehr haben. Die Initiative bietet Patienten und Patientinnen die Möglichkeit, Cannabis legal zu erwerben und sich selber zu therapieren.
|
||||
|
||||
.col-xs-12.col-sm-6
|
||||
h2 Meinungen und Fakten aus dem In- und Ausland
|
||||
h3 Cannabis-Irrsinn - Warum uns das Verbot schadet
|
||||
p
|
||||
| Das illegale Cannabis-Geschäft wird immer brutaler. Unter den Dealern steigt die Gewalt – auch mit Schusswaffen. Auffällig aktiv sind Gruppierungen aus dem Balkan und Vietnam. Aber nicht nur: In Sachen Cannabis haben Kartelle aus Kolumbien und Mexiko in Europa eine neue Front eröffnet. Kriminelle Gruppen, die zuvor mit Heroin und Kokain handelten, mischen nun im Marihuana-Geschäft mit.
|
||||
br
|
||||
a href="http://cannabis-irrsinn.info/wp/" target="_blank" Cannabis-Irrsinn
|
||||
|
||||
h3 Sind Drogen gefährlich?
|
||||
p
|
||||
| Bern, 21.12.2015 - Die Eidgenössische Kommission für Drogenfragen (EKDF) setzt sich seit ihrem Bestehen für einen rationaleren Umgang der Gesellschaft mit psychoaktiven Substanzen ein. Als Folge der neuesten, heute publizierten Studie zur Gefährlichkeit psychoaktiver Substanzen hält die Kommission fest, dass die aktuelle auf Verboten beruhende Gesetzgebung zu Drogen für künftige Herausforderungen nicht mehr ausreicht. Sie fordert entsprechend, dass für alle heute illegale Substanzen Regulationsmodelle entwickelt werden, die diese zugänglich und staatlich kontrollierbar machen. Ergänzend soll die Politik weiterhin selbstverantwortliches Handeln fördern sowie vulnerable Gruppen schützen und suchtkranken Menschen die notwendige Hilfe zusichern.
|
||||
ul
|
||||
li
|
||||
a href="https://unige.ch/sciences-societe/socio/files/1514/5068/7795/Sociograph_22_a.pdf" target="_blank" Publikation der EKDF
|
||||
li
|
||||
a href="http://www.20min.ch/schweiz/news/story/Staat-soll-alle-Drogen-zugaenglich-machen-31912845" target="_blank" Staat soll alle Drogen zugänglich machen
|
||||
|
||||
h3 LEAP: Gesetzeshüter organisieren sich für Legalisierung (Deutschland)
|
||||
p
|
||||
| Polizisten, Richter, Staatsanwälte und andere Gesetzeshüter zusammen, um dem Irrsinn der Prohibition ein Ende zu bereiten.
|
||||
br
|
||||
a href="https://www.youtube.com/watch?v=4zJ52kNI_to" target="_blank" LEAP Deutschland Gründung Pressekonferenz
|
||||
|
||||
h3 Colorado erlebt einen «Green Rush»
|
||||
p
|
||||
| In Colorado ist der Konsum von Cannabis seit zwei Jahren legal. Die Industrie wächst. Die Rede ist von einem richtigen Rausch, dem «Green Rush». Viele Kritiker der Legalisierung haben ihre Meinung mittlerweile geändert.
|
||||
br
|
||||
a href="http://www.srf.ch/news/international/colorado-erlebt-einen-green-rush" target="_blank" Colorado erlebt einen «Green Rush» auf SRF
|
||||
|
||||
h3 Drogen kann man nicht erschiessen
|
||||
p
|
||||
| Der Drogenkrieg begann 1971, als Nixon den Drogenmissbrauch zum Staatsfeind Nummer eins erklärte. Dieser Krieg ist gescheitert: Die USA sind der größte Drogenmarkt der Welt. Zukünftig muss es eine neue Antidrogen-Politik geben. Selbst eine Legalisierung ist kein Tabu mehr. Der Film dokumentiert neue Wege aus dem Drogenkrieg.
|
||||
br
|
||||
a href="https://www.youtube.com/watch?v=BTYGxSzfcZA" target="_blank" Sendung «Drogen kann man nicht erschiessen»
|
||||
|
||||
h3 Alternative World Drug Report (english)
|
||||
p
|
||||
| The war on drugs is a policy choice. There are other options that, at the very least, should be debated and explored using the best possible evidence and analysis. We all share the same goals – a safer, healthier and more just world. Therefore, we the undersigned, call upon world leaders and UN agencies to quantify the unintended negative consequences of the current approach to drugs, and assess the potential costs and benefits of alternative approaches.
|
||||
br
|
||||
a href="http://www.countthecosts.org/sites/default/files/AWDR-2nd-edition.pdf" target="_blank" The Alternative World Drug Report, 2nd edition
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
.row
|
||||
.col-xs-12.col-sm-6
|
||||
h1= title 'Argomentazioni'
|
||||
h2 Consumo
|
||||
p Il consumo ricreativo e medico della Cannabis è presente fin dai tempi antichi ed é una parte integrante della nostra società. La presente iniziativa vuole che la legge non debba più poter perseguire i consumatori che mantengono un uso responsabile di sostanze psicoattive come la cannabis, preparati a base di cannabis o sostanze con effetti simili alla cannabis.
|
||||
h2 Tutela dei minori
|
||||
p Il consumo della cannabis, di derivati e di sostanze con effetti simili alla cannabis, dovrebbe essere riservato agli adulti. Questa è la strategia di protezione dei giovani che attualmente stà perseguendo il governo federale. Quindi l’iniziativa vuole che gli Adulti che consentono ai minorenni l’accesso, il consumo, la vendita o la coltivazione della cannabis e dei derivati o delle sostanze con effetto simile alla cannabis dovrebbero continuare ad essere puniti.
|
||||
h2 Coltivazione e commercio
|
||||
p La coltivazione e il commercio legalizzati eliminano il controllo statale, eliminano il mercato nero e consentono l'accesso di prodotti di qualità ai consumatori, i quali, assieme ai minorenni, come per farmaci e altri prodotti regolamentati non sono tutelati come con la legalizzazione che prevede poi i controlli. Inoltre, genereranno entrate fiscali per lo Stato e non finiranno nelle tasche di organizzazioni criminali.
|
||||
h2 Coltivazione privata
|
||||
p La cannabis è una antica pianta che è può essere coltivata su ogni balcone o in giardini protetti da intrusi esterni, e che impediscono a minorenni o criminali di appropriarsene. Molti tossicodipendenti e pazienti lo fanno per il proprio consumo, per la gioia di giardinaggio e per la certezza di consumare prodotti di qualità senza pesticidi e sostanze che invece i mercati regolamentati presentano(Esempio: solfiti nel Vino, pesticidi e altre nella frutta e verdura, coloranti tossici nei vestiti, etc…). L’iniziativa non ha un obiettivo economico, ma certe condizioni di crescita economica e del mercato del lavoro devono essere soddisfatte. Quali condizioni devono essere soddisfatte, saranno determinate dal legislatore.
|
||||
h2 Salute e medicina
|
||||
p Rischi per la salute del consumo di cannabis sono moderati, soprattutto nelle forme di consumo, in cui non vi é nessun processo di combustione(Vaporizzatore, Tisana, Oli estratti, creme, etc…). Alcol e tabacco sono di solito più pericolosi e tossici che l'uso occasionale di cannabis, soprattutto tra gli adulti. Sportivi d’élite come il maratoneta Collins hanno mostrato effetti benefici della cannabis nel post- attività sportive per recupero sia a livello respiratorio, circolazione sanguinea, contusioni, dolori, e ripresa da traumi fisici. Secondo l'iniziativa che sottolinea il pericolo di altre sostanze, Vi è attualmente una stigmatizzazione dei tossicodipendenti di cannabis che invece non lo sono e che spesso vengono obbligati a consumare farmaci che provocano davvero dipendenza.
|
||||
|
||||
p A differenza di altre sostanze già legali la Cannabis offre anche ampie possibilità terapeutiche. In molti paesi, la cannabis è un farmaco con successo una parte della sanità pubblica. In Svizzera, anche l'automedicazione è punibile in pazienti che hanno dimostrato di altra scelta. L'iniziativa fornisce ai pazienti e ai pazienti la possibilità di acquistare legalmente la cannabis e curare se stessi.
|
||||
|
||||
.col-xs-12.col-sm-6
|
||||
h2 Opinioni e fatti di casa e dall’estero
|
||||
h3 Cannabis-Irrsinn - Warum uns das Verbot schadet
|
||||
p
|
||||
| L'attività di cannabis illegale è sempre più brutale. Tra i rivenditori la violenza aumenta anche con armi da fuoco, vendette e lotte per monopolio commercio. A colpire sono i gruppi attivi provenienti dai Balcani e Vietnam. Ma non solo: Quando anche i cartelli di cannabis provenienti da Colombia e Messico hanno aperto un nuovo fronte in Europa. I gruppi criminali che hanno negoziato in precedenza con l'eroina e la cocaina, ora sono mescolati con il business della marijuana.
|
||||
br
|
||||
a href="http://cannabis-irrsinn.info/wp/" target="_blank" Cannabis-Irrsinn
|
||||
|
||||
h3 Droghe e farmaci sono pericolosi?
|
||||
p
|
||||
| Berna, 2015/12/21 - La Commissione federale per le questioni di droga (EKDF) promuove un uso più razionale nella Società delle sostanze psicoattive siccome la repressione e la politica precedente non ha funzionato. Come risultato del più recente studio pubblicato oggi sui pericoli delle sostanze psicoattive, la Commissione osserva, che l'attuale legislazione sulle sostanze stupefacenti vietate, per le sfide del futuro, non è più sufficiente. Si auspica altresì che tutti i modelli di regolazione di sostanze illegali oggi saranno sviluppati per essere messi a disposizione e controllati dallo Stato. Inoltre, la politica è quello di continuare a promuovere l'azione indipendente e proteggere i gruppi vulnerabili e assicuarare a tossicodipendenti l'assistenza necessaria
|
||||
ul
|
||||
li
|
||||
a href="https://unige.ch/sciences-societe/socio/files/1514/5068/7795/Sociograph_22_a.pdf" target="_blank" Pubblicazione di EKDF
|
||||
li
|
||||
a href="http://www.20min.ch/schweiz/news/story/Staat-soll-alle-Drogen-zugaenglich-machen-31912845" target="_blank" Stato deve mettere a disposizione tutti i farmaci
|
||||
|
||||
h3 LEAP: Gesetzeshüter organisieren sich für Legalisierung (Deutschland)
|
||||
p
|
||||
| I poliziotti, giudici, procuratori e altri funzionari delle forze dell'ordine insieme per mettere fine alla follia del proibizionismo.
|
||||
br
|
||||
a href="https://www.youtube.com/watch?v=4zJ52kNI_to" target="_blank" LEAP Deutschland Gründung Pressekonferenz
|
||||
|
||||
h3 Colorado ha subito un «Green Rush»
|
||||
p
|
||||
| In Colorado l'uso di cannabis è legale da due anni. L'industria è in crescita. Si parla di un vero e proprio business efficace, il „Green Rush“. Molti critici della legalizzazione hanno cambiato idea ora
|
||||
br
|
||||
a href="http://www.srf.ch/news/international/colorado-erlebt-einen-green-rush" target="_blank" Colorado erlebt einen «Green Rush» auf SRF
|
||||
|
||||
h3 Le droghe non possono spararti
|
||||
p
|
||||
| La guerra alla droga ha avuto inizio nel 1971, quando Nixon dichiarò l'abuso di droga al nemico pubblico numero uno. Questa guerra non è riuscita: Gli Stati Uniti sono il più grande mercato della droga in tutto il mondo. In futuro, ci deve essere una nuova politica antidroga. Anche una legalizzazione non è più un tabù. Il film documenta nuovi modi dalla guerra alla droga.
|
||||
br
|
||||
a href="https://www.youtube.com/watch?v=BTYGxSzfcZA" target="_blank" Sendung «Drogen kann man nicht erschiessen»
|
||||
|
||||
h3 Alternative World Drug Report (english)
|
||||
p
|
||||
| The war on drugs is a policy choice. There are other options that, at the very least, should be debated and explored using the best possible evidence and analysis. We all share the same goals – a safer, healthier and more just world. Therefore, we the undersigned, call upon world leaders and UN agencies to quantify the unintended negative consequences of the current approach to drugs, and assess the potential costs and benefits of alternative approaches.
|
||||
br
|
||||
a href="http://www.countthecosts.org/sites/default/files/AWDR-2nd-edition.pdf" target="_blank" The Alternative World Drug Report, 2nd edition
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -26,4 +26,3 @@ h3 Weitere Informationen zur Initiative findest du hier:
|
||||
ul
|
||||
li = link_to 'Initiativ-Seite', 'https://www.hanflegal.ch/initiative'
|
||||
li = link_to 'Onlineformular', root_path
|
||||
li = link_to 'Initiativ-Forum', 'https://forum.hanflegal.ch'
|
||||
@@ -0,0 +1,86 @@
|
||||
.row
|
||||
section.col-xs-12.col-sm-6
|
||||
h1= title 'Fragen und Antworten zur Cannabis-Initiative'
|
||||
h2 Was will die Cannabis-Initiative erreichen?
|
||||
p Die Ziele der Cannabis-Initiativ werden in den drei Kernbotschaften zum Ausdruck gebracht:
|
||||
ul
|
||||
li Erwachsene haben genauso die Freiheit und das Recht Cannabis zu konsumieren, wie Alkohol oder Tabak.
|
||||
li Niemand muss gezwungen sein, sich auf dem Schwarzmarkt zu bedienen.
|
||||
li Steuereinnahmen und Einsparungen aus der Strafverfolgung sollen der Prävention, der Forschung oder den Sozialversicherungen zugutekommen.
|
||||
|
||||
h2 Wem nützt die Initiative?
|
||||
p Jeder Schweizer Bürger profitiert von der Annahme der Initiative. Gelder, die über den Schwarzmarkt in internationale Terror-Organisationen fliessen, werden versteuert und Millionen von Steuergeldern in der Strafverfolgung eingespart. Zehntausende von Patienten profitieren von der Möglichkeit einer alternativen Behandlung mittels Cannabis. Hunderttausende Schweizer Bürger werden entkriminalisiert und in Freiheit Cannabis als Genussmittel konsumieren.
|
||||
|
||||
h2 Wer steht hinter der Initiative?
|
||||
p Die Initiative wurde von Mitgliedern des Verein Legalize it! initiiert. Seit 25 Jahren helfen wir vom Verein Legalize it! Menschen, die mit THC-Produkten Umgang pflegen, bei den unterschiedlichsten Fragen.
|
||||
|
||||
h2 Wird Cannabis als ganz normales Produkt kaufbar sein?
|
||||
p Ja, wer volljährig ist darf Cannabis ganz normal kaufen. An welche Rahmenbedingungen der Verkauf genau gebunden ist, muss jedoch vom Gesetzgeber noch definiert werden.
|
||||
|
||||
h2 Wie wird der Anbau geregelt?
|
||||
p Jeder darf für seinen eigenen Bedarf Cannabis anbauen. Sobald der Anbau einem wirtschaftlichen Zweck dient, müssen jedoch gewisse Anbaubedingungen erfüllt werden. Welche Bedingungen erfüllt werden müssen, wird vom Gesetzgeber noch bestimmt.
|
||||
|
||||
h2 Wie wird der Jugendschutz gewährleistet?
|
||||
p Analog der Regelung bei Alkohol gilt ein striktes Verbot, Cannabis an Minderjährige abzugeben. Anreize aus der Gesellschaft können durch ein Werbeverbot minimiert werden. Ein solches Werbeverbot soll analog der bestehenden Regelung im Umgang mit Alkoholwerbung (AlkG. Art. 42b) umgesetzt werden. Steuereinnahmen und Einsparungen aus der Strafverfolgung sollen unter anderem der Prävention zugutekommen.
|
||||
|
||||
h2 Sieht die Initiative vor, dass Jugendliche legal kiffen dürfen?
|
||||
p Nein, ebenso wie niemand will, dass Jugendliche Tabak rauchen oder Alkohol konsumieren, will niemand, dass Jugendliche Cannabis konsumieren. Vor dem Gesetz sollen die Konsequenzen für Jugendliche jedoch dieselben sein, wie bei Alkohol oder Tabak. Werden Jugendliche mit Cannabis erwischt, soll es ihnen entzogen und die Erziehungsberechtigten informiert werden. Jugendliche, die dabei erwischt werden, Cannabis an gleichaltrige zu verkaufen, können wie anhin bestraft werden.
|
||||
|
||||
h2 Wird Cannabis als Medizin erhältlich?
|
||||
p Bereits jetzt ist es möglich Cannabis, therapeutisch einzusetzen. Dies jedoch nur in begrenztem Rahmen. Mit der Annahme der Initiative kann jeder ganz legal sich selber mit Cannabis therapieren. Präparate und Rohstoffe können rezeptfrei und ohne Ausnahmebewilligung gekauft werden. Die Kosten für eine ärztlich begleitete Cannabis-Therapie müssen jedoch nicht von den Krankenkassen übernommen werden. Es bleibt zu hoffen, dass sich die in Zukunft ändern wird. Es werden jedoch neue Produkte auf den Markt kommen, welche die Therapiekosten massiv senken.
|
||||
|
||||
h2 Was bedeutet die Initiative für die Landwirtschaft?
|
||||
p Die bisherigen strikten Kontrollen bezüglich des Wirkstoffgehalts für industriell hergestellten Hanf sollen entfallen. Somit können auch problemlos Hanfprodukte wie Seifen, Dämmmaterial oder Textilien aus Cannabis hergestellt werden, die einen erhöhten THC-Gehalt aufweisen. Lediglich das Endprodukt, dass zum Verzehr gedacht ist oder verzehrt werden könnte, wie beispielsweise Tee oder Hanföl aus Saatgut, muss bezüglich des THC-Gehaltes kontrolliert und entsprechend deklariert werden.
|
||||
|
||||
h2 Kann dann in der Öffentlichkeit Cannabis oder Hasch geraucht werden?
|
||||
p Es gelten dieselben Bestimmungen, wie beim Konsum von Tabak. Es wird immer wieder berichtet, dass sich Personen durch den Cannabis-Rauch gestört fühlen. Grundsätzlich gilt dies jedoch auch für andere Raucherwaren, wie beispielsweise die Brissago, die Pfeife oder der Stumpen. Ausserdem gibt es auch andere, wesentliche gesündere Formen des Konsums von Cannabis, bei dem keine störenden Emissionen auftreten.
|
||||
|
||||
h2 Kommt es nach der Annahme der Initiative zu einem Drogentourismus in der Schweiz?
|
||||
p Ausländer sollen genau so wie Schweizer Bürger im Land legal Cannabis erwerben und konsumieren können. Es wäre zu begrüssen, wenn der kränkelnde Tourismus durch die Legalisierung von Cannabis Aufwind bekommt. Sollten Auswirkungen für Anwohner als störend empfunden werden, steht es den Behörden jedoch frei Regulierungen vorzunehmen, ähnlich dem Ausschank von Alkohol.
|
||||
|
||||
h2 Wird es vermehrt zu Cannabis-Schmuggel in den Grenzregionen kommen?
|
||||
p Nachbarstaaten, die an der momentanen Prohibitionspolitik festhalten, werden mit unter Umständen damit konfrontiert, dass Cannabis illegal aus der Schweiz importiert wird. Der Schwarzmarkt in diesen Ländern ist bereits jetzt gesättigt, somit wird es weniger einen Anstieg des Konsums, sondern eher eine Umstrukturierung des Schwarzmarktes geben.
|
||||
|
||||
h2 Verstösst die Initiative gegen Internationale Verträge?
|
||||
p Bei einer Legalisierung von Cannabis würde die Schweiz gegen die von ihr unterzeichnete UN Drogenkonvention (Einheitsabkommen über die Betäubungsmittel) verstossen. Allerdings hat das Schweizer Volk in den letzten paar Jahren klar gemacht, dass Verstösse gegen internationale Verträge nicht so tragisch sind (Masseneinwanderungsinitiative und Minarettinitiative). Zudem hatte das bei Uruguay, Spanien und den USA auch keine weiteren Konsequenzen. Die Probleme der Prohibitionspolitik sind international dieselben. Mit der Initiative zur Legalisierung von Cannabis hat die Schweiz eine passable Lösung.
|
||||
|
||||
h2 Wie sieht die Initiative den Umgang mit Cannabis im Strassenverkehr vor?
|
||||
p Wer fährt, kifft nicht. Dass jemand unter Einfluss von THC ein Fahrzeug lenkt, muss jedoch bewiesen werden. Entgegen der jetzigen Situation muss der Gesetzgeber realistische und objektive Grenzwerte für aktives THC festsetzen. Da dies in der Natur der Sache liegt, muss der Gesetzgeber diesbezüglich über die Bücher, spätestens bei einer Annahme der Initiative. Im Initiativtext wird dieses Thema zwar ausgeklammert, wird aber einen wichtigen Stellenwert in der Diskussion um die Umsetzung bekommen.
|
||||
|
||||
h2 Wird es bei einer Legalisierung von Cannabis mehr Opfer im Strassenverkehr geben?
|
||||
p Wer fährt, kifft nicht. Diese Regel hat einen guten Grund, denn genau so wie bei Alkohol, gewissen Medikamenten oder einer schlichten Übermüdung, verringert Cannabis die Reaktionszeit. Studien legen nahe, dass <a href="http://bit.ly/2itOXj5" target="_blank">der Gebrauch von Cannabis die Wahrscheinlichkeit von Autounfällen verdoppelt</a>. Viele Uneinsichtige, die sich trotzdem gelegentlich unter Einfluss von Cannabis hinters Steuer setzen, berichten, dass Sie vorsichtiger und aufmerksamer fahren. Das könnte dann auch ein Grund sein, dass 6 Jahre später dasselbe Institut herausgefunden hat, <a href="http://bit.ly/2jgq3EU" target="_blank">dass in US-Staaten, die Cannabis zum medizinischen Gebrauch legalisiert haben, die Zahl der Verkehrstoten sogar zurückgegangen ist</a>. Es gibt bis jetzt keinen Grund anzunehmen, dass Cannabis-Konsum die Strassen unsicherer macht. Im Gegenteil, wer Cannabis konsumiert agiert meist verantwortungsvoller und umsichtiger.
|
||||
|
||||
section.col-xs-12.col-sm-6
|
||||
h1 Allgemeine Fragen zu Cannabis
|
||||
h2 Wie gefährlich ist Cannabis?
|
||||
p <a href="https://unige.ch/sciences-societe/socio/files/1514/5068/7795/Sociograph_22_a.pdf" target="_blank">Die Frage wurde durch die Eidgenössische Kommission für Drogenfragen (EKDF) untersucht.</a> Dabei zeigte sich, dass Cannabis durchwegs weniger problematisch ist als die bisherigen legalen Genussmittel Alkohol und Tabak.
|
||||
|
||||
h2 Kann man vom Passivkiffen high werden?
|
||||
p Nein, man müsste sich in einem geschlossenen Raum befinden und Unmengen von Cannabis verbrennen, um eine Wirkung zu erzielen. Das Einatmen einer vorbeiziehenden süsslichen Rauchschwade hat absolut keine Wirkung.
|
||||
|
||||
h2 Verführt Cannabis zum Konsum anderer Drogen?
|
||||
p Nein, die sogenannte Einstiegsdrogen-Theorie gilt bei allen Experten als überholt. Im Gegenteil, die Trennung von sogenannten weichen und harten Drogen kann nur durch eine konsequente Legalisierung vollzogen werden. Wenn Personen, welche nicht mehr in Kontakt mit Dealern kommen, die auch noch harte Drogen verkaufen, greifen sie weniger zu anderen Drogen. Ein Modell, dass in Holland seit Jahrzehnten erfolgreich umgesetzt wird.
|
||||
|
||||
h2 Wie wird Cannabis hergestellt und gewonnen?
|
||||
p Cannabinoide, also die verschiedenen Wirkstoffe sind in der Cannabispflanze, insbesondere in der weiblichen Blüte vorhanden. Die Pflanze kann relativ einfach angepflanzt werden, danach können die getrockneten Blüten direkt konsumiert oder weiter verarbeitet werden. Im Prinzip reicht es ein Samen in einem Blumentopf zu setzen und regelmässig zu giessen.
|
||||
|
||||
h2 Macht Cannabis gewalttätig?
|
||||
p Der Konsum von <a href="http://link.springer.com/article/10.1007/s00213-016-4371-1" target="_blank">Cannabis alleine hat in der Regel eher einen gegenteiligen Effekt</a>, man wird ruhiger und entspannter. Dass Cannabis die Gewaltbereitschaft erhöht ist höchst wahrscheinlich auf die Propaganda der 30er Jahre zurückzuführen — der Film <a href="https://www.youtube.com/watch?v=sbjHOBJzhb0"target="_blank">„Reefer Madness“</a> ist ein gutes Beispiel dafür. Ein Effekt von Cannabis ist jedoch auch, dass es die Wirkung anderer Substanzen verstärken kann. Deshalb wird auch vom Mischkonsum, insbesondere mit Alkohol, abgeraten. Die negativen Effekte von Alkohol, beispielsweise Enthemmung, Gewaltbereitschaft oder erhöhte Risikobereitschaft, können stärker hervortreten, wenn jemand gleichzeitig Cannabis konsumiert.
|
||||
p Insbesondere Jugendlichen wird eine erhöhte Gewaltbereitschaft nachgesagt. Dass Cannabis nicht ursächlich sein kann für Gewalt unter Jugendlichen, zeigt die Tatsache, dass trotz <a href="http://www.suchtmonitoring.ch/de/4/1-2.html?cannabis-pravalenz-gebrauch-in-der-gesamtbevolkerung"target="_blank">konstantem Konsum</a> die <a href="https://www.bfs.admin.ch/bfs/de/home/statistiken/kriminalitaet-strafrecht/strafjustiz.gnpdetail.2016-0112.html" target="_blank">Jugendgewalt immer mehr abnimmt</a>.
|
||||
|
||||
h2 Macht Cannabis süchtig?
|
||||
p
|
||||
| Nach der internationalen Klassifikation der Krankheiten und verwandter Gesundheitsprobleme (ICD-10) liegt dann eine Sucht vor, wenn drei oder mehr der folgenden Kriterien zutreffen:
|
||||
ol
|
||||
li starkes, oft unüberwindbares Verlangen, die Substanz einzunehmen
|
||||
li Schwierigkeiten, die Einnahme zu kontrollieren (was den Beginn, die Beendigung und die Menge des Konsums betrifft)
|
||||
li körperliche Entzugssymptome
|
||||
li benötigen immer größerer Mengen, damit die gewünschte Wirkung eintritt
|
||||
li fortschreitende Vernachlässigung anderer Verpflichtungen, Aktivitäten, Vergnügen oder Interessen (das Verlangen nach der Droge wird zum Lebensmittelpunkt)
|
||||
li fortdauernder Gebrauch der Substanz(en) wider besseres Wissen und trotz eintretender schädlicher Folgen.
|
||||
|
||||
| Der Konsum von Cannabis kann, genau so, wie Alkohol, Tabak, Kaffe, Sport, Sex, Smartphonegebrauch, etc. süchtig machen. Das Abhängigkeitspotenzial von Cannabis wird jedoch als mässig bis gering eingestuft.
|
||||
img.img-responsive src="#{asset_path('abhaengigkeitspotential_dosis_gabel2006.png')}" alt="Acute toxicity of drugs versus regulatory status."
|
||||
| Gable, R. S. (2006). Acute toxicity of drugs versus regulatory status. In J. M. Fish (Ed.),Drugs and Society: U.S. Public Policy, pp.149-162, Lanham, MD: Rowman & Littlefield Publishers.
|
||||
p Immer wieder wird auch hervorgehoben, dass Jugendliche besonders anfällig wären, von Cannabis abhängig zu werden. Die Gehirnentwicklung von Jugendlichen ist noch nicht abgeschlossen, was sie anfällig für alle möglichen Abhängigkeiten macht. Eine Abhängigkeit im Jugendalter ist jedoch meist nicht durch Cannabis verursacht, sondern das Resultat vorangehender Probleme im Umfeld und insbesondere in der Familie. Da Cannabis gesellschaftlich nicht akzeptiert ist, lernen die Jugendlichen keinen verantwortungsvollen Umgang mit dieser Substanz. Cannabis wird von den Jugendlichen nicht als gefährlich eingestuft. Die Tatsache, dass es trotzdem illegal ist, macht es zu einer idealen Substanz um die Grenzen auszutesten und gegen die Erwachsenen zu rebellieren. Wäre Cannabis gesellschaftlich akzeptiert, wäre der Anreiz Cannabis zu konsumieren unter Jugendlichen geringer.
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
h1= title 'Der Initiativtext im Wortlaut'
|
||||
.well
|
||||
p Die Bundesverfassung vom 18. April 1999 wird wie folgt geändert:
|
||||
p Art. 105a (neu) Cannabis:
|
||||
ul
|
||||
li Der Konsum von Stoffen und Präparaten des Wirkungstyps Cannabis sowie die Vorbereitung zum eigenen Konsum sind straffrei. Der gemeinschaftliche Anbau von Cannabis für den Eigenbedarf ist ebenfalls straffrei.
|
||||
li Der Bund erlässt Vorschriften über den gewerblichen Anbau und die Herstellung sowie den Handel mit Stoffen und Präparaten des Wirkungstyps Cannabis.
|
||||
li Die Abgabe von Stoffen und Präparaten des Wirkungstyps Cannabis an Minderjährige ohne medizinische Indikation ist verboten.
|
||||
p Art. 131 Abs.1 Bst. f
|
||||
ul
|
||||
li
|
||||
| Der Bund kann besondere Verbrauchssteuern erheben auf
|
||||
br
|
||||
| f. Stoffe und Präparate des Wirkungstyps Cannabis, welche nicht der medizinischen Anwendung dienen.
|
||||
p Feedback und konstruktive Kritik ist per E-Mail herzlich willkommen. Als Cannabis im Sinne dieses Artikels gelten alle Stadien der Hanfpflanze (inkl. Saatgut) und deren Produkte, unabhängig von ihrem Gehalt an Tetrahydrocannabinol (THC). Als „Vorbereitung“ gilt vor allem der Besitz, der Erwerb und der Anbau für den eigenen Konsum.
|
||||
@@ -0,0 +1,17 @@
|
||||
h1= title 'Il testo dell’iniziativa'
|
||||
.well
|
||||
p La Costituzione Federale del 18 aprile 1999 é stata modifata come segue
|
||||
p Art. 105a (nuovo) Cannabis:
|
||||
ul
|
||||
li Il consume di sostanze e preparati a base di cannabis, derivati o sostanze con effetto simile alla cannabis, e la preparazione per il proprio consumo non sono punibili. La coltivazione di cannabis per uso proprio non è punibile.
|
||||
li La Confederazione emana prescrizioni sulla coltivazione commerciale e la produzione e il commercio di sostanze e preparati del tipo di effetto di cannabis.
|
||||
li Il rilascio di sostanze e preparati a base di cannabis e di sostanze con effetto simile alla cannabis ai minori senza indicazione medica è vietata.
|
||||
|
||||
p Art. 131 Abs.1 Bst. f
|
||||
ul
|
||||
li
|
||||
| La Confederazione può riscuotere imposte speciali di consumo su
|
||||
br
|
||||
| f. cannabis o sostanze con effetto simile alla cannabis, che non necessitano l'applicazione medica.
|
||||
|
||||
p In questo articolo tutte le fasi della pianta della canapa (semi incl.) e applicare i loro prodotti, indipendentemente dal loro contenuto di tetraidrocannabinolo (THC). Come „preparazione“ è particolarmente vero per il possesso, l'acquisto e la coltivazione per il consumo personale.
|
||||
@@ -0,0 +1,74 @@
|
||||
article
|
||||
h1 = title t("Die Cannabis-Legalisierung in Zahlen: Der Staat wirft Geld aus dem Fenster und verpasst Millionen an Steuereinnahmen")
|
||||
h2 Cannabis-Konsum
|
||||
table.table.table-bordered.table-condensed.table-inherit
|
||||
caption Cannabis-Konsum im Jahr 2014 gemäss <a href="http://www.suchtmonitoring.ch/de/4/1-2.html?cannabis-pravalenz-gebrauch-in-der-gesamtbevolkerung" target="_blank">Suchtmonitoring</a>
|
||||
tbody
|
||||
tr
|
||||
td Gelegenheitskonsumenten (Konsum innerhalb von 12 Monaten)
|
||||
td ca. 536’000
|
||||
td 6.7%
|
||||
tr
|
||||
td Regelmässige Konsumenten (Konsum innerhalb von 30 Tagen)
|
||||
td ca. 240’000
|
||||
td 3%
|
||||
tr
|
||||
td Schweizer Bürger, die mindestens einmal im Leben Cannabis konsumiert haben
|
||||
td ca. 3’136’000
|
||||
td 39.2%
|
||||
|
||||
h2 Strafverfolgung
|
||||
table.table.table-bordered.table-condensed.table-inherit
|
||||
caption Strafverfolgung im Jahr 2015 gemäss <a href="http://www.bfs.admin.ch/bfs/portal/de/index/themen/19/03/02/key/05/03.html" target="_blank">Bundesamt für Statistik</a>
|
||||
tbody
|
||||
tr
|
||||
td Jährliche Kosten für die Strafverfolgung (gemäss <a href="http://cannabis-irrsinn.info/wp/" target="_blank">«Der Cannabis-Irrsinn»</a>)
|
||||
td ca. 200’000’000 Fr.
|
||||
tr
|
||||
td Verzeigte Straftaten oder Ordnungsbussen
|
||||
td ca. 50’000
|
||||
tr
|
||||
td Kosten pro Straftat oder Ordnungsbusse
|
||||
td ca. 4’000 Fr.
|
||||
.lead Im Durchschnitt kostet jedes Delikt im Zusammenhang mit Cannabis den Steuerzahler ca. 4’000 Fr.
|
||||
|
||||
h2 Potenzielle Steuereinnahmen durch kontrollierten Handel (Modellrechnung)
|
||||
table.table.table-bordered.table-condensed.table-inherit
|
||||
caption Potenzielle Steuereinnahmen
|
||||
tbody
|
||||
tr
|
||||
td Geschätzte Anzahl Konsumenten
|
||||
td
|
||||
a href="#prevalenz" aria-describedby="footnote-label" id="prevalenz-ref" ca. 800’000
|
||||
tr
|
||||
td Jährliche Konsumation pro Person
|
||||
td ca. 50 Gramm
|
||||
tr
|
||||
td Durchschnittlicher Verkaufspreis pro Gramm
|
||||
td
|
||||
a href="#preis" aria-describedby="footnote-label" id="preis-ref" ca. 10 Fr
|
||||
|
||||
table.table.table-bordered.table-condensed.table-inherit
|
||||
caption Bilanz
|
||||
tbody
|
||||
tr
|
||||
td Jährliche Steuereinnahmen
|
||||
td ca. 100’000’000 Fr.
|
||||
tr
|
||||
td Jährliche Einsparungen
|
||||
td ca. 200’000’000 Fr.
|
||||
tr
|
||||
td
|
||||
strong Total
|
||||
td
|
||||
strong ca. 300’000’000 Fr.
|
||||
|
||||
footer
|
||||
h2 id="footnote-label" Fusszeile
|
||||
ol
|
||||
li#prevalenz
|
||||
| Es wird geschätzt, dass 10% der Schweizer Bevölkerung nach der Legalisierung Cannabis konsumiert.
|
||||
a href="#prevalenz-ref" aria-label="Zurück zum Inhalt"↵
|
||||
li#preis
|
||||
| Der Verkaufspreis auf dem Schwarzmarkt liegt derzeit bei ca. 10 - 15 Fr. pro Gramm. Um den Schwarzmarkt wirksam zu bekämpfen, darf der Verkaufspreis inklusive Steuern nicht höher ausfallen, als der Preis auf dem Schwarzmarkt. Reine Produktionskosten liegen bei ca. 0.8 Fr. pro Gramm.
|
||||
a href="#preis-ref" aria-label="Zurück zum Inhalt"↵
|
||||
@@ -0,0 +1,17 @@
|
||||
h1 = t("Unsere Sponsoren")
|
||||
.lead
|
||||
| Wir suchen tatkräftige Sponsoren, die uns bei der Sammlung der Unterschriften und im späteren Wahlkampf finanziell unterstützen. Im Gegenzug ermöglichen wir den Sponsoren, sich mit Logo, einem kleinen Text und Link zu präsentieren.
|
||||
h2 Beispiel...
|
||||
.well
|
||||
.row
|
||||
.col-xs-12.col-sm-6.col-md-3
|
||||
= image_tag 'dummy.png', alt: 'Platzhalter für Logo', class: 'img-responsive'
|
||||
.col-xs-12.col-sm-6.col-md-9
|
||||
h2 Ihr Firmenname
|
||||
p Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
||||
.row
|
||||
.col-xs-12.col-sm-6.col-md-9
|
||||
h2 Ihr Firmenname
|
||||
p Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
||||
.col-xs-12.col-sm-6.col-md-3
|
||||
= image_tag 'dummy.png', alt: 'Platzhalter für Logo', class: 'img-responsive'
|
||||
@@ -0,0 +1,13 @@
|
||||
- supporters = Supporter.where('publicity.state' => :approved).desc(:created_at)
|
||||
|
||||
h1 = title t('.title')
|
||||
- supporters.each do |supporter|
|
||||
.statement
|
||||
= image_tag supporter.publicity.avatar.url(:small), alt: "#{supporter.first_name} #{supporter.last_name}"
|
||||
h2= "#{supporter.first_name} #{supporter.last_name}, #{supporter.city}"
|
||||
- unless supporter.publicity.organisation.blank?
|
||||
em= ", #{supporter.publicity.organisation}"
|
||||
br
|
||||
= supporter.publicity.statement
|
||||
hr.clearfix
|
||||
|
||||
@@ -2,5 +2,4 @@ h1 Nutzungsbedingungen
|
||||
|
||||
p Die Daten werden ausschliesslich zum Zweck der Kampagnenplanung und zur Beschaffung von Unterschriften bezüglich der Legalisierung von Cannabis in der Schweiz erhoben. Unterstützer und Helfer werden über die Adressen schriftlich oder elektronisch über Neuigkeiten informiert und bezüglich weiterer Unterstützung angefragt.
|
||||
p Die gesammelten Daten werden nur zum jeweils deklarierten Zweck erhoben und nicht weitergegeben.
|
||||
p Die von Ihnen in ein Formular eingegebenen Daten werden verschlüsselt übermittelt. Die Online-Übermittlung persönlicher Daten erfolgt auf eigenes Risiko. Die von Ihnen übermittelten Daten werden auf unseren Servern gespeichert, mit aller Sorgfalt aufbewahrt und vor Zugriffen Dritter geschützt.
|
||||
= link_to 'Zurück', :back
|
||||
p Die von Ihnen in ein Formular eingegebenen Daten werden verschlüsselt übermittelt. Die Online-Übermittlung persönlicher Daten erfolgt auf eigenes Risiko. Die von Ihnen übermittelten Daten werden auf unseren Servern gespeichert, mit aller Sorgfalt aufbewahrt und vor Zugriffen Dritter geschützt.
|
||||
@@ -2,5 +2,4 @@ h1 Condizioni d'uso
|
||||
p I dati verranno utilizzati unicamente a scopo di pianificazione della campagna e raccolta firme per la legalizzazione della Cannabis in Svizzera. Sostenitori e collaboratori verranno informati per iscritto od in forma elettronica in merito alle novità e verrà loro chiesto ulteriore aiuto qualora possibile.
|
||||
p I dati raccolti verranno utilizzati unicamente a tal scopo e non verranno ritrasmessi a terzi.
|
||||
p I dati inseriti nel formulario vengono trasmessi in maniera criptata. Una volta trasmessi, i dati vengono salvati sui nostri Server regolarmente sottoposti a manutanzione e protetti da accessi di terze persone.
|
||||
= link_to 'Indietro', :back
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ ul
|
||||
li Teile unser Projekt in den sozialen Medien mit dem Hashtag #CH420
|
||||
li Erzähle allen von unserem Vorhaben und bitte Sie mitzumachen
|
||||
li Werde Mitglied beim <a href="https://www.hanflegal.ch">Verein Legalize it!</a>
|
||||
li = link_to 'Spende für die Legalisierung', spenden_path
|
||||
li = link_to 'Spende für die Legalisierung', donation_path
|
||||
li Besuche unser <a href="https://forum.hanflegal.ch">Forum</a>. Da findest du eine Jobbörse und spannende Projekte bei denen wir deine Hilfe brauchen können
|
||||
|
||||
h2 Folge uns auf Facebook
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
h1= title t('.title')
|
||||
= simple_form_for(@publicity, url: publicity_path) do |form|
|
||||
= form.input :organisation, required: false, label: t('.organisation'), placeholder: t('.organisation_placeholder')
|
||||
= form.input :statement, as: :text, required: false
|
||||
= form.input :avatar, as: :file, label: t('.avatar'), required: false
|
||||
= form.submit t('.save'), class: 'btn btn-primary'
|
||||
@@ -0,0 +1 @@
|
||||
= render 'form'
|
||||
@@ -2,19 +2,8 @@ header
|
||||
.row
|
||||
.col-md-1.col-xs-4
|
||||
= image_tag('ch420_logo.png', class:'img-responsive pagelogo', alt: t('.logo'))
|
||||
.col-md-8.col-xs-8
|
||||
.col-md-7.col-xs-8
|
||||
h1
|
||||
= t('.title_html')
|
||||
.col-xs-12.col-md-3
|
||||
nav.pull-right
|
||||
h2.sr-only =t('.lang')
|
||||
a href='/' lang='de'
|
||||
| Deutsch
|
||||
| |
|
||||
a href='/it' lang='it'
|
||||
| Italiano
|
||||
| |
|
||||
a href='/fr' lang='fr'
|
||||
| Français
|
||||
br/
|
||||
.col-xs-12.col-md-4.hidden-xs.hidden-sm
|
||||
= render 'shared/counter'
|
||||
@@ -3,4 +3,15 @@
|
||||
= navbar_collapse do
|
||||
= navbar_group id: 'topnav' do
|
||||
= navbar_item "Home", "/#{I18n.locale}"
|
||||
= navbar_item t('.donation'), spenden_path
|
||||
= navbar_dropdown t('.initiative') do
|
||||
= navbar_item t('.initiative_text'), initiative_text_path
|
||||
= navbar_item t('.arguments'), arguments_path
|
||||
= navbar_item t('.faq'), faq_path
|
||||
= navbar_item t('.numbers'), numbers_path
|
||||
= navbar_item t('.statements'), statements_path
|
||||
= navbar_item t('.sponsoring'), sponsoring_path
|
||||
= navbar_item t('.sign_in'), new_supporter_session_path unless supporter_signed_in?
|
||||
= navbar_item t('.sign_out'), destroy_supporter_session_path, nil, 'data-method' => :delete if supporter_signed_in?
|
||||
- if supporter_signed_in? && current_supporter.admin?
|
||||
= navbar_dropdown t('admin.title') do
|
||||
= navbar_item t('admin.publicities.index.title'), admin_publicities_path
|
||||
|
||||
@@ -1,22 +1,43 @@
|
||||
p
|
||||
strong Hallo #{@supporter.first_name},
|
||||
p Hallo #{@supporter.first_name}, du bist nun ein Teil der Bewegung!
|
||||
|
||||
p Du bist nun ein Teil der Bewegung!
|
||||
p
|
||||
| Um deine Angaben anzupassen kannst dich unter #{link_to new_supporter_session_url, new_supporter_session_url} mit folgenden Daten anmelden:
|
||||
|
||||
dl.dl-horizontal
|
||||
dt E-Mail
|
||||
dd= @supporter.email
|
||||
dt Passwort
|
||||
dd= @password
|
||||
|
||||
p Wir informieren dich per E-Mail über die nächsten Schritte und kommen aktiv auf dich zu. Auf <a href="https://www.hanflegal.ch/initiative">https://www.hanflegal.ch/initiative</a> informieren wir über laufende Aktivitäten.
|
||||
|
||||
p
|
||||
b Was kannst du machen?
|
||||
|
||||
p
|
||||
| Was kannst du machen?
|
||||
ul
|
||||
li Versende den Link <a href="https://ch420.herokuapp.com">https://ch420.herokuapp.com</a> an all deine Freunde und Bekannte
|
||||
li Versende den Link <a href="https://hanflegal.ch/ch420">https://hanflegal.ch/ch420</a> an all deine Freunde und Bekannte
|
||||
li Folge uns auf <a href="https://www.facebook.com/vereinlegalizeit">Facebook</a> und <a href="https://twitter.com/VereinLegalize">Twitter</a>
|
||||
li Teile unser Projekt in den sozialen Medien mit dem Hashtag #CH420
|
||||
li Erzähle allen von unserem Vorhaben und bitte Sie mitzumachen
|
||||
li Werde Mitglied beim <a href="https://www.hanflegal.ch">Verein Legalize it!</a>
|
||||
li Besuche unser <a href="https://forum.hanflegal.ch">Forum</a>. Da findest du eine Jobbörse und spannende Projekte bei denen wir deine Hilfe brauchen können
|
||||
|
||||
p
|
||||
| Hanfige Grüsse,
|
||||
em die Initianten
|
||||
p
|
||||
.portrait
|
||||
= image_tag 'nino.png', class: 'img-rounded', width: 150
|
||||
br
|
||||
strong Nino Forrer
|
||||
br
|
||||
a href="mailto: nino@hanflegal.ch" nino@hanflegal.ch
|
||||
br
|
||||
em Strategie / Presse
|
||||
|
||||
.portrait
|
||||
= image_tag 'markus.png', class: 'img-rounded', width: 150
|
||||
br
|
||||
strong Markus Graf
|
||||
br
|
||||
a href="mailto: markus@hanflegal.ch" markus@hanflegal.ch
|
||||
br
|
||||
em Inhalt / Technik
|
||||
@@ -0,0 +1,42 @@
|
||||
p Salut #{@supporter.first_name}, Tu fais maintenant partie du mouvement!
|
||||
|
||||
p Nous allons t’envoyer par e-mail les informations sur les prochaines étapes. Sur <a href="https://www.hanflegal.ch/initiative">https://www.hanflegal.ch/initiative</a> initiative nous informons des activités en cours.
|
||||
|
||||
p
|
||||
| Pour régler vos données peut vous inscrire à #{link_to new_supporter_session_url, new_supporter_session_url} avec les données suivantes:
|
||||
|
||||
dl.dl-horizontal
|
||||
dt E-Mail
|
||||
dd= @supporter.email
|
||||
dt Mot de passe
|
||||
dd= @password
|
||||
p
|
||||
| Que peux-tu faire?
|
||||
ul
|
||||
li Envoie le <a href="mailto:?subject=Oui, je veux légaliser le cannabis en Suisse.&body=Envoie un signe et montre que tu nous soutiens sur https://ch420.herokuapp.com. Unterstütze uns auch du.">lien pour le formulaire en ligne</a> à tous tes amis et connaissances
|
||||
li Suis-nous sur <a href="https://www.facebook.com/vereinlegalizeit">Facebook</a> et <a href="https://twitter.com/VereinLegalize">Twitter</a>
|
||||
li Partage notre projet sur les réseaux sociaux avec le hashtag #CH420
|
||||
li Raconte à tout le monde ce que nous avons prévu et demande leurs de participer
|
||||
li Deviens un <a href="https://www.hanflegal.ch">membre de l’association Legalize it!</a>
|
||||
|
||||
p
|
||||
| Hanfige Grüsse,
|
||||
em die Initianten
|
||||
p
|
||||
.portrait
|
||||
= image_tag 'nino.png', class: 'img-rounded', width: 150
|
||||
br
|
||||
strong Nino Forrer
|
||||
br
|
||||
a href="mailto: nino@hanflegal.ch" nino@hanflegal.ch
|
||||
br
|
||||
em Strategie / Presse
|
||||
|
||||
.portrait
|
||||
= image_tag 'markus.png', class: 'img-rounded', width: 150
|
||||
br
|
||||
strong Markus Graf
|
||||
br
|
||||
a href="mailto: markus@hanflegal.ch" markus@hanflegal.ch
|
||||
br
|
||||
em Inhalt / Technik
|
||||
@@ -1,21 +1,42 @@
|
||||
p
|
||||
strong Ciao #{@supporter.first_name},
|
||||
|
||||
p Ora sei una parte del movimento!
|
||||
p Ciao #{@supporter.first_name}, ora sei una parte del movimento!
|
||||
|
||||
p Vi informeremo via e-mail circa i prossimi passi e diventare attivo. Su <a href="https://www.hanflegal.ch/initiative">https://www.hanflegal.ch/initiative</a> può informarsi sulle attività in corso.
|
||||
|
||||
p
|
||||
b Che cosa puoi fare?
|
||||
| Per regolare i dati possono iscriversi a #{link_to new_supporter_session_url, new_supporter_session_url} i seguenti dati:
|
||||
|
||||
dl.dl-horizontal
|
||||
dt E-Mail
|
||||
dd= @supporter.email
|
||||
dt Password
|
||||
dd= @password
|
||||
p
|
||||
| Che cosa puoi fare?
|
||||
ul
|
||||
li Invia il <a href="https://ch420.herokuapp.com">https://ch420.herokuapp.com</a> a tutti i tuoi amici e conoscenti
|
||||
li Invia il <a href="https://hanflegal.ch/ch420">https://hanflegal.ch/ch420</a> a tutti i tuoi amici e conoscenti
|
||||
li Seguici su <a href="https://www.facebook.com/vereinlegalizeit">Facebook</a> e <a href="https://twitter.com/VereinLegalize">Twitter</a>
|
||||
li Racconta die nostri progetti sui social media con l’Hashtag #CH420
|
||||
li Di a tutti di unirsi ai nostri progetti
|
||||
li Diventa un membro dell’ <a href="https://www.hanflegal.ch">associazione Verein Legalize it!</a>
|
||||
li Visita il nostro <a href="https://forum.hanflegal.ch">Forum</a>. Puoi trovare scambi di lavoro e progetti interessanti in cui potrebbe esser richiesto il tuo aiuto.
|
||||
|
||||
p
|
||||
| Saluti,
|
||||
em hanflegal.ch
|
||||
|
||||
.portrait
|
||||
= image_tag 'nino.png', class: 'img-rounded', width: 150
|
||||
br
|
||||
strong Nino Forrer
|
||||
br
|
||||
a href="mailto: nino@hanflegal.ch" nino@hanflegal.ch
|
||||
br
|
||||
em Strategie / Presse
|
||||
|
||||
.portrait
|
||||
= image_tag 'markus.png', class: 'img-rounded', width: 150
|
||||
br
|
||||
strong Markus Graf
|
||||
br
|
||||
a href="mailto: markus@hanflegal.ch" markus@hanflegal.ch
|
||||
br
|
||||
em Inhalt / Technik
|
||||
@@ -0,0 +1,25 @@
|
||||
- if current_supporter.publicity
|
||||
.panel.panel-default
|
||||
.panel-heading
|
||||
h2.panel-title
|
||||
= t '.title'
|
||||
.panel-body
|
||||
dl.dl-horizontal
|
||||
dt = Publicity.human_attribute_name(:status)
|
||||
dd= t("publicity_states.#{current_supporter.publicity.state}")
|
||||
- unless current_supporter.publicity.organisation.blank?
|
||||
dt = Publicity.human_attribute_name(:organisation)
|
||||
dd = current_supporter.publicity.organisation
|
||||
dt = Publicity.human_attribute_name(:statement)
|
||||
dd = current_supporter.publicity.statement
|
||||
dt = Publicity.human_attribute_name(:avatar)
|
||||
dd = image_tag current_supporter.publicity.avatar.url(:small), alt: ''
|
||||
|
||||
.pull-right
|
||||
= link_to t(".renew"), new_publicity_path
|
||||
br
|
||||
= link_to t(".delete"), publicity_path, data: { confirm: t("shared.are_you_sure") }, method: :delete, class: 'text-danger'
|
||||
|
||||
- else
|
||||
.alert.alert-notice
|
||||
= link_to t('.create_publicity'), new_publicity_path
|
||||
@@ -14,21 +14,11 @@
|
||||
| Durch eine ausgeklügelte Logistik werden Sympathisanten und Aktivisten zusammengebracht, um gemeinsam die nötigen Unterschriften zu generieren.
|
||||
|
||||
p.lead Wenn du also <span class="text-success">Cannabis in der Schweiz legalisieren</span> willst, fülle das nebenstehende Formular aus und schreibe mit uns Geschichte.
|
||||
|
||||
p Mehr Informationen findest du unter #{link_to 'https://www.hanflegal.ch/initiative', 'https://www.hanflegal.ch/initiative'}
|
||||
|
||||
|
||||
/ p.embed-responsive.embed-responsive-4by3
|
||||
iframe.embed-responsive-item src="https://www.youtube.com/embed/l5DjuLXRVVM" frameborder="0" allowfullscreen=""
|
||||
/ p.embed-responsive.embed-responsive-4by3
|
||||
iframe src="https://www.youtube.com/embed/videoseries?list=PLlC7Go4yV6YKunLd6O627HTQlNswQQ6vw" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen
|
||||
|
||||
h3 Wer steht hinter dieser Aktion?
|
||||
p Die Aktion wurde von Mitgliedern des Verein Legalize it! initiiert. Seit 25 Jahren helfen wir vom Verein Legalize it! Menschen, die mit THC-Produkten Umgang pflegen, bei den unterschiedlichsten Fragen.
|
||||
|
||||
h3 Kontakt
|
||||
p
|
||||
| Nino Forrer (#{mail_to 'nino@hanflegal.ch'})
|
||||
em Strategie / Presse
|
||||
br
|
||||
| Markus Graf (#{mail_to 'markus@hanflegal.ch'})
|
||||
em Inhalt / Technik
|
||||
p Die Aktion wurde von Mitgliedern des Verein Legalize it! initiiert. Seit 25 Jahren helfen wir vom Verein Legalize it! Menschen, die mit THC-Produkten Umgang pflegen, bei den unterschiedlichsten Fragen.
|
||||
@@ -15,15 +15,5 @@
|
||||
|
||||
p.lead Donc, si tu désires <span class="text-success">légaliser le cannabis en Suisse</span>, remplis le formulaire ci-dessous et aide nous à faire un grand pas dans l'histoire
|
||||
|
||||
p Plus d'informations peuvent être trouvées sous #{link_to 'https://www.hanflegal.ch/initiative', 'https://www.hanflegal.ch/initiative'}
|
||||
|
||||
h3 Qui se trouve derrière cette action?
|
||||
p L'action a été lancée par les membres de l'association Legalize It!. Depuis 25 ans, nous, de l’association Legalize It!, aidons les gens qui utilisent des produits à base de THC et répondons volontiers à leurs questions.
|
||||
|
||||
h3 Contact
|
||||
p
|
||||
| Nino Forrer (#{mail_to 'nino@hanflegal.ch'})
|
||||
em Stratégie / Presse
|
||||
br
|
||||
| Markus Graf (#{mail_to 'markus@hanflegal.ch'})
|
||||
em Contenu / Technologie
|
||||
@@ -15,16 +15,6 @@
|
||||
|
||||
|
||||
p.lead Quindi, se anche tu vuoi <span class="text-success">legalizzare la Cannabis</span> in Svizzera, compila il seguente modulo e riscrivi la storia con noi.
|
||||
|
||||
p Più informazioni le trovi su #{link_to 'https://www.hanflegal.ch/initiative', 'https://www.hanflegal.ch/initiative'}
|
||||
|
||||
h3 Chi c’é dietro questa azione?
|
||||
p L'azione è stata sostenuta da membri dell'associazione Legalize It! Da 25 anni aiutiamo l'associazione Legalize It! Le persone che si prendono cura con prodotti THC si occupano di una vasta gamma di questioni.
|
||||
|
||||
h3 Contatti
|
||||
p
|
||||
| Nino Forrer (#{mail_to 'nino@hanflegal.ch'})
|
||||
em Strategie / Presse
|
||||
br
|
||||
| Markus Graf (#{mail_to 'markus@hanflegal.ch'})
|
||||
em Inhalt / Technik
|
||||
p L'azione è stata sostenuta da membri dell'associazione Legalize It! Da 25 anni aiutiamo l'associazione Legalize It! Le persone che si prendono cura con prodotti THC si occupano di una vasta gamma di questioni.
|
||||
@@ -0,0 +1,10 @@
|
||||
h2
|
||||
= t(".resend_confirmation_instructions")
|
||||
= simple_form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post }) do |f|
|
||||
= f.error_notification
|
||||
= f.full_error :confirmation_token
|
||||
.form-inputs
|
||||
= f.input :email, required: true, autofocus: true
|
||||
.form-actions
|
||||
= f.button :submit, t(".resend_confirmation_instructions")
|
||||
= render "supporters/shared/links"
|
||||
@@ -0,0 +1,7 @@
|
||||
- require 'devise/version'
|
||||
p
|
||||
= t('.greeting', recipient: @resource.email)
|
||||
p
|
||||
= t('.instruction')
|
||||
p
|
||||
= link_to t('.action'), confirmation_url(@resource, confirmation_token: (Devise::VERSION.start_with?('3.') ? @token : @resource.confirmation_token))
|
||||
@@ -0,0 +1,14 @@
|
||||
p
|
||||
| Hello
|
||||
= @email
|
||||
| !
|
||||
- if @resource.try(:unconfirmed_email?)
|
||||
p
|
||||
| We're contacting you to notify you that your email is being changed to
|
||||
= @resource.unconfirmed_email
|
||||
| .
|
||||
- else
|
||||
p
|
||||
| We're contacting you to notify you that your email has been changed to
|
||||
= @resource.email
|
||||
| .
|
||||
@@ -0,0 +1,5 @@
|
||||
- require 'devise/version'
|
||||
p
|
||||
= t('.greeting', recipient: @resource.email)
|
||||
p
|
||||
= t('.message')
|
||||
@@ -0,0 +1,11 @@
|
||||
- require 'devise/version'
|
||||
p
|
||||
= t('devise.mailer.reset_password_instructions.greeting', recipient: "#{@resource.first_name} #{@resource.last_name}")
|
||||
p
|
||||
= t('devise.mailer.reset_password_instructions.instruction')
|
||||
p
|
||||
= link_to t('devise.mailer.reset_password_instructions..action'), edit_password_url(@resource, reset_password_token: (Devise::VERSION.start_with?('3.', '4.') ? @token : @resource.reset_password_token), locale: I18n.locale)
|
||||
p
|
||||
= t('devise.mailer.reset_password_instructions.instruction_2')
|
||||
p
|
||||
= t('devise.mailer.reset_password_instructions.instruction_3')
|
||||
@@ -0,0 +1,9 @@
|
||||
- require 'devise/version'
|
||||
p
|
||||
= t('.greeting', recipient: @resource.email)
|
||||
p
|
||||
= t('.message')
|
||||
p
|
||||
= t('.instruction')
|
||||
p
|
||||
= link_to t('.action'), unlock_url(@resource, unlock_token: (Devise::VERSION.start_with?('3.') ? @token :@resource.unlock_token))
|
||||
@@ -1,2 +1,37 @@
|
||||
= render 'form'
|
||||
- if supporter_signed_in?
|
||||
h1.sr-only = title t('.title', name: current_supporter.first_name)
|
||||
.row
|
||||
.col-xs-12.col-md-7
|
||||
.panel.panel-default
|
||||
.panel-heading
|
||||
h2.panel-title = t '.my_data'
|
||||
.panel-body
|
||||
dl.dl-horizontal
|
||||
dt = Supporter.human_attribute_name(:email)
|
||||
dd = current_supporter.email
|
||||
dt = Supporter.human_attribute_name(:first_name)
|
||||
dd = current_supporter.first_name
|
||||
dt = Supporter.human_attribute_name(:last_name)
|
||||
dd = current_supporter.last_name
|
||||
dt = Supporter.human_attribute_name(:street)
|
||||
dd = current_supporter.street
|
||||
dt = Supporter.human_attribute_name(:city)
|
||||
dd = "#{current_supporter.zip} #{current_supporter.city}"
|
||||
dt = Supporter.human_attribute_name(:support)
|
||||
dd == t("support_type.#{current_supporter.support}")
|
||||
dt = Supporter.human_attribute_name(:age_category)
|
||||
dd == t("age_category.#{current_supporter.age_category}")
|
||||
dt = Supporter.human_attribute_name(:language)
|
||||
dd = t("languages.#{current_supporter.language}")
|
||||
|
||||
p
|
||||
= link_to t('.edit'), edit_supporter_registration_path(), class: 'pull-right'
|
||||
|
||||
= render 'publicity'
|
||||
|
||||
aside.col-md-5.col-xs-12
|
||||
= render 'right_side'
|
||||
|
||||
- else
|
||||
= render 'form'
|
||||
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
h2
|
||||
= t("devise.passwords.edit.change_your_password")
|
||||
= simple_form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f|
|
||||
= f.input :reset_password_token, as: :hidden
|
||||
= f.full_error :reset_password_token
|
||||
.form-inputs
|
||||
= f.input :password, label: t("devise.passwords.edit.new_password"), required: true, autofocus: true
|
||||
= f.input :password_confirmation, label: t("devise.passwords.edit.confirm_new_password"), required: true
|
||||
.form-actions
|
||||
= f.button :submit, t("devise.passwords.edit.change_my_password")
|
||||
= render "supporters/shared/links"
|
||||
@@ -0,0 +1,8 @@
|
||||
h1= title t("devise.passwords.new.forgot_your_password")
|
||||
= simple_form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |f|
|
||||
= f.error_notification
|
||||
.form-inputs
|
||||
= f.input :email, required: true, autofocus: true
|
||||
.form-actions
|
||||
= f.button :submit, t("devise.passwords.new.send_me_reset_password_instructions")
|
||||
= render "supporters/shared/links"
|
||||
@@ -0,0 +1,27 @@
|
||||
.panel.panel-default
|
||||
.panel-heading
|
||||
h1.panel-title = title t("devise.registrations.edit.title", resource: resource_class.model_name.human)
|
||||
.panel-body
|
||||
= simple_form_for(resource, as: resource_name, url: registration_path(resource_name), html: { method: :put }) do |f|
|
||||
.form-inputs
|
||||
= f.input :current_password, hint: t("devise.registrations.edit.we_need_your_current_password_to_confirm_your_changes"), required: true
|
||||
= f.input :email, required: true, autofocus: true
|
||||
- if devise_mapping.confirmable? && resource.pending_reconfirmation?
|
||||
p
|
||||
= t(".currently_waiting_confirmation_for_email", email: resource.unconfirmed_email)
|
||||
= f.input :password, autocomplete: "off", hint: t("devise.registrations.edit.leave_blank_if_you_don_t_want_to_change_it"), required: false
|
||||
= f.input :password_confirmation, required: false
|
||||
= f.input :first_name
|
||||
= f.input :last_name
|
||||
= f.input :street
|
||||
= f.input :city
|
||||
= f.input :zip
|
||||
= f.input :support, as: :radio_buttons, collection: t('support_type').map{ |x| [x.first, raw(x.last)]}, label_method: :last, value_method: :first
|
||||
= f.input :age_category, as: :radio_buttons, collection: t('age_category'), label_method: :last, value_method: :first
|
||||
= f.input :language, as: :radio_buttons, collection: t('languages').map{ |x| [x.first, raw(x.last)]}, label_method: :last, value_method: :first
|
||||
.form-actions
|
||||
= f.button :submit, t("devise.registrations.edit.update"), class: 'btn btn-primary'
|
||||
p = link_to t("devise.shared.links.back"), :back
|
||||
hr
|
||||
p = link_to t("devise.registrations.edit.cancel_my_account"), registration_path(resource_name), data: { confirm: t("devise.registrations.edit.are_you_sure") }, method: :delete, class: 'btn btn-danger btn-sm pull-right'
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
h2
|
||||
= t(".sign_up")
|
||||
= simple_form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f|
|
||||
= f.error_notification
|
||||
.form-inputs
|
||||
= f.input :email, required: true, autofocus: true
|
||||
= f.input :password, required: true
|
||||
= f.input :password_confirmation, required: true
|
||||
.form-actions
|
||||
= f.button :submit, t(".sign_up")
|
||||
= render "supporters/shared/links"
|
||||
@@ -0,0 +1,9 @@
|
||||
h1= title t("devise.sessions.new.sign_in")
|
||||
= simple_form_for(resource, as: resource_name, url: session_path(resource_name)) do |f|
|
||||
.form-inputs
|
||||
= f.input :email, required: false, autofocus: true
|
||||
= f.input :password, required: false
|
||||
= f.input :remember_me, as: :boolean if devise_mapping.rememberable?
|
||||
.form-actions
|
||||
= f.button :submit, t("devise.sessions.new.sign_in")
|
||||
= render "supporters/shared/links"
|
||||
@@ -0,0 +1,20 @@
|
||||
- if controller_name != 'sessions'
|
||||
= link_to t("devise.shared.links.sign_in"), new_session_path(resource_name)
|
||||
br
|
||||
- if devise_mapping.registerable? && controller_name != 'registrations'
|
||||
/= link_to t("devise.shared.links.sign_up"), new_registration_path(resource_name)
|
||||
= link_to t("devise.shared.links.sign_up"), new_supporter_path
|
||||
br
|
||||
- if devise_mapping.recoverable? && controller_name != 'passwords'
|
||||
= link_to t("devise.shared.links.forgot_your_password"), new_password_path(resource_name)
|
||||
br
|
||||
- if devise_mapping.confirmable? && controller_name != 'confirmations'
|
||||
= link_to t('devise.shared.links.didn_t_receive_confirmation_instructions'), new_confirmation_path(resource_name)
|
||||
br
|
||||
- if devise_mapping.lockable? && resource_class.unlock_strategy_enabled?(:email) && controller_name != 'unlocks'
|
||||
= link_to t('devise.shared.links.didn_t_receive_unlock_instructions'), new_unlock_path(resource_name)
|
||||
br
|
||||
- if devise_mapping.omniauthable?
|
||||
- resource_class.omniauth_providers.each do |provider|
|
||||
= link_to t('devise.shared.links.sign_in_with_provider', provider: provider.to_s.titleize), omniauth_authorize_path(resource_name, provider)
|
||||
br
|
||||
@@ -0,0 +1,10 @@
|
||||
h2
|
||||
= t(".resend_unlock_instructions")
|
||||
= simple_form_for(resource, as: resource_name, url: unlock_path(resource_name), html: { method: :post }) do |f|
|
||||
= f.error_notification
|
||||
= f.full_error :unlock_token
|
||||
.form-inputs
|
||||
= f.input :email, required: true, autofocus: true
|
||||
.form-actions
|
||||
= f.button :submit, t(".resend_unlock_instructions")
|
||||
= render "supporters/shared/links"
|
||||
|
After Width: | Height: | Size: 20 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 20 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 20 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 20 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 20 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 20 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 20 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 20 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 20 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 20 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 20 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 20 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 20 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 20 KiB |
|
After Width: | Height: | Size: 2.9 KiB |