13 lines
620 B
Plaintext
13 lines
620 B
Plaintext
-if @admin
|
|
plan du site
|
|
-else
|
|
#newsletter_form
|
|
-@registrant = @registrant || Registrant.new
|
|
=semantic_form_for [:public, @registrant], :remote => true do |f|
|
|
=hidden_field_tag :popup, true
|
|
%table{:style => "width:100%;max-width:450px;margin:20px auto;"}
|
|
%tr
|
|
%td.email=f.input :email, :placeholder => qit("newsletter-home_place_holder-3","Mon email"), :label => false
|
|
%td{:style => "width:120px;vertical-align:top"}
|
|
=link_to qit("newsletter-submit-3","S'abonner >"), "#", :class => "btn orange", :onclick => "$(this).closest('form').submit();return false;"
|