Commit a98051fc authored by o's avatar o
Browse files

include printable invites link in textarea

parent 92a65dbe
......@@ -4,14 +4,6 @@
<br />
<% if @tokens && @tokens != [] %>
<textarea style="width:auto" rows="<%= @tokens.size + 1 %>" cols="<%= signup_url(@tokens.first).size %>">
<% @tokens.each do |token| %>
<%= signup_url(token) %>
<% end %>
</textarea>
<br />
<h4>Printable Tokens:</h4>
<ul>
<li>
......@@ -21,4 +13,18 @@
<a href="https://invitator.immerda.ch/?long=1&t=<%= @tokens.join(',') %>">long</a>
</li>
</ul>
<textarea style="width:auto" rows="<%= @tokens.size + 4 %>" cols="100">
<% @tokens.each do |token| %>
<%= signup_url(token) %>
<% end %>
# Streifen zum ausdrucken:
https://invitator.immerda.ch/?t=<%= @tokens.join(',') %>
# Einladungskärtchen zum ausdrucken:
https://invitator.immerda.ch/?long=1&t=<%= @tokens.join(',') %>
</textarea>
<% end %>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment