astrochimp 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
|
|
1
|
-
<h2><%= ENV['AC_SUBHEADER'] %></h2>
|
2
|
-
<%= form_for
|
1
|
+
<h2 class="ac-subheader"><%= ENV['AC_SUBHEADER'] %></h2>
|
2
|
+
<%= form_for @signup, html: { class: "ac-form" } do |f| %>
|
3
3
|
<% if @signup.errors.any? %>
|
4
4
|
<div class="alert alert-error">
|
5
5
|
<a class="close" data-dismiss="alert">×</a>
|
@@ -12,8 +12,8 @@
|
|
12
12
|
<div class="control-group">
|
13
13
|
<div class="controls">
|
14
14
|
<div class="input-append">
|
15
|
-
<%= text_field_tag :email, (params[:signup][:email] if params[:signup] or nil), name: 'signup[email]', placeholder: 'Email address', class: 'span4 btn-large' %>
|
16
|
-
<%= submit_tag ENV['AC_SUBMIT_TEXT'].html_safe, class: 'btn btn-success btn-large' %>
|
15
|
+
<%= text_field_tag :email, (params[:signup][:email] if params[:signup] or nil), name: 'signup[email]', placeholder: 'Email address', class: 'ac-email span4 btn-large' %>
|
16
|
+
<%= submit_tag ENV['AC_SUBMIT_TEXT'].html_safe, class: 'ac-submit btn btn-success btn-large' %>
|
17
17
|
</div>
|
18
18
|
</div>
|
19
19
|
</div>
|
@@ -1,9 +1,11 @@
|
|
1
1
|
<h2 class="ac-signup-success-notice"><%= ENV['AC_SIGNUP_SUCCESS_NOTICE'] %></h2>
|
2
|
-
<
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
2
|
+
<div class="ac-referrals">
|
3
|
+
<p>
|
4
|
+
Share this referral link to invite others:<br>
|
5
|
+
<%= link_to referral_link_path(referrer_code: @signup.referral_code, only_path: false),
|
6
|
+
referral_link_path(referrer_code: @signup.referral_code), class: "ac-referral-link" %>
|
7
|
+
</p>
|
8
|
+
<p>
|
9
|
+
You have referred <strong class="ac-referral-count"><%= @signup.signups_count %></strong> people.
|
10
|
+
</p>
|
11
|
+
</div>
|
data/lib/astrochimp/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: astrochimp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2013-01-
|
14
|
+
date: 2013-01-24 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rails
|