2014-05-09 02:01:41 +02:00
|
|
|
<%= form_tag({:controller => 'pages', :action => 'contact_us', :method => :post}, :class => 'form-horizontal') do %>
|
2014-10-01 03:09:01 +02:00
|
|
|
<input type='text' id='userlogin_js' name='userlogin_js' class='userlogin' />
|
2014-05-19 17:09:07 +02:00
|
|
|
|
2014-05-09 02:01:41 +02:00
|
|
|
<div class="form-group">
|
|
|
|
<label class="col-sm-4 col-xs-3 control-label"><%= t(:email_address).titleize %></label>
|
|
|
|
<div class="col-sm-4 col-xs-9"><%= text_field_tag :email, (current_user.present? ? current_user.email : nil), :class => 'form-control' %></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<label class="col-sm-4 col-xs-3 control-label"><%= t(:message).capitalize %></label>
|
|
|
|
<div class="col-sm-4 col-xs-9"><%= text_area_tag :message, nil, :class => 'form-control', :rows => 8 %></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<label class="col-sm-4 col-xs-3 control-label"></label>
|
|
|
|
<div class="col-sm-4 col-xs-9"><p class="form-control-static"><%= submit_tag t(:submit), :class => 'btn btn-primary' %></p></div>
|
|
|
|
</div>
|
|
|
|
<% end %>
|
|
|
|
|