Sha256: 15be60f4e29ebd4588fc2b9c4f5918fc35463010f05ce07babe3e669c57f0095

Contents?: true

Size: 1.98 KB

Versions: 1

Compression:

Stored size: 1.98 KB

Contents

<% #
# WebROaR - Ruby Application Server - http://webroar.in/
# Copyright (C) 2009  Goonj LLC
#
# This file is part of WebROaR.
#
# WebROaR is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# WebROaR is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WebROaR.  If not, see <http://www.gnu.org/licenses/>.
#
%>
<%if(flash[:notice].class == Array )%>
  <%= flash[:notice][0] %> Please use <%= link_to 'Configuration',configuration_path %> tab to configure mail settings.
<% else %>
  <%= form_remote_for :feedback,:update =>"contact_us",:before => 'show_busy_div()',:complete => "hide_busy_div()",:url => {:action => 'send_feedback' },:html => { :onsubmit => 'if(!validate_feedback(this)){return false;}'} do%>
    <table width='75%' align='center'>
      <tr>
        <th colspan='2'>Feedback</th>
      </tr>
      <tr>
        <td colspan = 2>
          <div id = 'error_div' style="padding:0px;">
            <%= raw(flash[:notice]) if flash[:notice] %>
          </div>
          Name<span id = 'needed'>*</span><br>
          <%= text_field :feedback, :name, :value => @fb[:name],:class =>'input_text'%><br><br>
  
          Email<span id = 'needed'>*</span><br>
          <%= text_field :feedback, :email,:value => @fb[:email],:class =>'input_text'%><br><br>
  
          Message<span id = 'needed'>*</span><br>
          <%= text_area :feedback, :message, :value => @fb[:message],:class =>'input_text',:rows => 15%><br><br>

          <%= raw(text_captcha_tag) %>
          <p align="center"><%= submit_tag 'Submit'%></p>
        </td>
      </tr>
    </table>
  <%end%>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
webroar-0.7.0 src/admin_panel/app/views/admin/_feedback_partial.html.erb