2014-02-13 05:07:45 +00:00
<div id="wrap">
<form id="form" class="form-horizontal" action="." method="POST">
<div class="container">
<div class="page-header">
<h1>Add A Listing</h1>
</div>
<h5 id="how">How does this work?</h5>
<ul class="nav nav-tabs menu">
<li class="active"><a href="#tab1" data-toggle="tab">General Information</a></li>
<li><a href="#tab2" data-toggle="tab">Business Hours</a></li>
</ul>
<div class="well how">
<p>This tool is intended to streamline the process of adding listings. Fill in the information below just once, and we’ ll send it along to Localeze.</p>
<p>After you submit a listing, all listing account management still needs to take place within Localeze. For example, if you need to modify, verify, or access a listing for any reason, you must log in to Localeze separately and manage listings from those locations.</p>
</div>
<div class="tab-content">
<%= form_for @listentry do |f| %>
<div class="tab-pane active" id="tab1">
<div class="well">
<%= f.label :Address %>
<%= f.text_field :Address %><br>
<%= f.label :AltNumber %>
<%= f.text_field :AltNumber %><br>
<%= f.label :BusinessName %>
<%= f.text_field :BusinessName %><br>
<%= f.label :City %>
<%= f.text_field :City %><br>
<%= f.label :CreditCards %>
<%= f.text_field :CreditCards %><br>
<%= f.label :Department %>
<%= f.text_field :Department %><br>
<%= f.label :Fax %>
<%= f.text_field :Fax %><br>
<%= f.label :LogoImage %>
<%= f.text_field :LogoImage %><br>
<%= f.label :Phone %>
<%= f.text_field :Phone %><br>
<%= f.label :State %>
<%= f.text_field :State %><br>
<%= f.label :URL %>
<%= f.text_field :URL %><br>
<%= f.label :UnstructuredTerms %>
<%= f.text_field :UnstructuredTerms %><br>
<%= f.label :Zip %>
<%= f.text_field :Zip %><br>
<%= f.label :eMail %>
<%= f.text_field :eMail %><br>
2014-02-13 05:47:27 +00:00
<%= f.collection_select(:localeze_categories , LocalezeCategory.find(:all), :id , :name, {}, { :multiple => true, :size => 3 }) %>
2014-02-13 05:07:45 +00:00
{{form.payment_types_commadelimited}}
</div>
</div>
<div class="tab-pane" id="tab2">
<div class="well">
<h6><a href='#' id='set_clear'>[Clear]</a></h6>
2014-02-13 05:47:27 +00:00
<%= select( "hours_sunday", "open", hours_hash) %>
<%= select( "hours_sunday", "close", hours_hash) %><br>
2014-02-13 05:07:45 +00:00
2014-02-13 05:47:27 +00:00
<%= select( "hours_monday", "open", hours_hash) %>
<%= select( "hours_monday", "close", hours_hash) %><br>
2014-02-13 05:07:45 +00:00
2014-02-13 05:47:27 +00:00
<%= select( "hours_tuesday", "open", hours_hash) %>
<%= select( "hours_tuesday", "close", hours_hash) %><br>
2014-02-13 05:07:45 +00:00
2014-02-13 05:47:27 +00:00
<%= select( "hours_wednesday", "open", hours_hash) %>
<%= select( "hours_wednesday", "close", hours_hash) %><br>
2014-02-13 05:07:45 +00:00
2014-02-13 05:47:27 +00:00
<%= select( "hours_thursday", "open", hours_hash) %>
<%= select( "hours_thursday", "close", hours_hash) %><br>
2014-02-13 05:07:45 +00:00
2014-02-13 05:47:27 +00:00
<%= select( "hours_friday", "open", hours_hash) %>
<%= select( "hours_friday", "close", hours_hash) %><br>
2014-02-13 05:07:45 +00:00
2014-02-13 05:47:27 +00:00
<%= select( "hours_saturday", "open", hours_hash) %>
<%= select( "hours_saturday", "close", hours_hash) %><br>
2014-02-13 05:07:45 +00:00
</div>
</div>
<% end %>
</div>
</div>
<div id="push"></div>
</div>
<div id="footer">
<div class="container">
<h4> When you're complete with all tabs... </h4>
<input type="submit" name="submit" value="Submit Listing" class="btn btn-primary">
</div>
</div>
</form>