167 lines
7.0 KiB
Plaintext
167 lines
7.0 KiB
Plaintext
<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">
|
||
<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 :localeze_categories, "Localeze Categories", {class: "control-label"} %>
|
||
<div class="controls">
|
||
<%= f.collection_select(:localeze_categories , LocalezeCategory.find(:all), :id , :name, {}, { :multiple => true, :size => 3, class: 'fuckingworkdick' }) %>
|
||
</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>
|
||
|
||
|
||
<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>
|
||
|
||
|
||
<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 :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>
|
||
|
||
</div>
|
||
</div>
|
||
<div class="tab-pane" id="tab2">
|
||
<div class="well">
|
||
<h6><a href='#' id='set_clear'>[Clear]</a></h6>
|
||
|
||
<%= select( "hours_sunday", "open", hours_hash) %>
|
||
<%= select( "hours_sunday", "close", hours_hash) %><br>
|
||
|
||
<%= select( "hours_monday", "open", hours_hash) %>
|
||
<%= select( "hours_monday", "close", hours_hash) %><br>
|
||
|
||
<%= select( "hours_tuesday", "open", hours_hash) %>
|
||
<%= select( "hours_tuesday", "close", hours_hash) %><br>
|
||
|
||
<%= select( "hours_wednesday", "open", hours_hash) %>
|
||
<%= select( "hours_wednesday", "close", hours_hash) %><br>
|
||
|
||
<%= select( "hours_thursday", "open", hours_hash) %>
|
||
<%= select( "hours_thursday", "close", hours_hash) %><br>
|
||
|
||
<%= select( "hours_friday", "open", hours_hash) %>
|
||
<%= select( "hours_friday", "close", hours_hash) %><br>
|
||
|
||
<%= select( "hours_saturday", "open", hours_hash) %>
|
||
<%= select( "hours_saturday", "close", hours_hash) %><br>
|
||
|
||
</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>
|
||
<button id="submit" name="submit" class="btn btn-primary">Submit Listing</button>
|
||
</div>
|
||
</div>
|
||
|
||
|
||
</form>
|