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>
2014-02-13 17:12:02 +00:00
<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>
2014-02-13 05:07:45 +00:00
<div class="tab-content">
<%= form_for @listentry do |f| %>
<div class="tab-pane active" id="tab1">
<div class="well">
2014-02-13 06:07:35 +00:00
<div class="control-group required">
<%= f.label :BusinessName, "Business Name", {class: "control-label"} %>
<div class="controls">
<%= f.text_field :BusinessName %>
</div>
</div>
<div class="control-group">
<%= f.label :Department, {class: "control-label"} %>
<div class="controls">
<%= f.text_field :Department %>
</div>
</div>
<div class="control-group">
<%= f.label :City, {class: "control-label"} %>
<div class="controls">
<%= f.text_field :City %>
</div>
</div>
<div class="control-group">
<%= f.label :State, {class: "control-label"} %>
<div class="controls">
<%= f.text_field :State %>
</div>
</div>
<div class="control-group">
<%= f.label :Zip, {class: "control-label"} %>
<div class="controls">
<%= f.text_field :Zip %>
</div>
</div>
<div class="control-group">
<%= f.label :Phone, {class: "control-label"} %>
<div class="controls">
<%= f.text_field :Phone %>
</div>
</div>
<div class="control-group">
<%= f.label :AltNumber, "Alternate Phone Number", {class: "control-label"} %>
<div class="controls">
<%= f.text_field :AltNumber %>
</div>
</div>
2014-02-13 05:07:45 +00:00
2014-02-13 06:07:35 +00:00
<div class="control-group">
<%= f.label :Fax, {class: "control-label"} %>
<div class="controls">
<%= f.text_field :Fax %>
</div>
</div>
<div class="control-group">
<%= f.label :eMail, "e-Mail", {class: "control-label"} %>
<div class="controls">
<%= f.text_field :eMail %>
</div>
</div>
2014-02-13 05:07:45 +00:00
2014-02-13 06:07:35 +00:00
<div class="control-group">
<%= f.label :LogoImage, {class: "control-label"} %>
<div class="controls">
<%= f.text_field :LogoImage %>
</div>
</div>
<div class="control-group">
<%= f.label :URL, {class: "control-label"} %>
<div class="controls">
<%= f.text_field :URL %>
</div>
</div>
<div class="control-group">
<%= f.label :localeze_categories, "Localeze Categories", {class: "control-label"} %>
<div class="controls">
2014-02-13 16:02:57 +00:00
<%= f.collection_select(:localeze_categories , LocalezeCategory.find(:all), :id , :name, {}, { :multiple => true, :size => 3, class: 'fuckingworkdick' }) %>
2014-02-13 06:07:35 +00:00
</div>
</div>
<div class="control-group">
<%= f.label :CreditCards, {class: "control-label"} %>
<div class="controls">
<%= f.text_field :CreditCards %>
</div>
</div>
<div class="control-group">
<%= f.label :UnstructuredTerms, {class: "control-label"} %>
<div class="controls">
<%= f.text_field :UnstructuredTerms %>
</div>
</div>
2014-02-13 05:07:45 +00:00
</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>