cleanup html styles a bit

This commit is contained in:
Tyrel Souza 2014-02-13 01:07:35 -05:00
parent 5820d816de
commit a946ea07ef
2 changed files with 90 additions and 46 deletions

View File

@ -17,7 +17,6 @@
<%= stylesheet_link_tag "select2-bootstrap" %>
<%= stylesheet_link_tag "listings" %>
<%= javascript_include_tag "listings" %>
<%= javascript_include_tag "regex_validation" %>
<%= javascript_include_tag "jquery.maskedinput.min" %>
<script src="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/js/bootstrap.min.js"></script>

View File

@ -20,55 +20,100 @@
<div class="tab-pane active" id="tab1">
<div class="well">
<%= f.label :Address %>
<%= f.text_field :Address %><br>
<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>
<%= f.label :AltNumber %>
<%= f.text_field :AltNumber %><br>
<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>
<%= 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>
<%= f.collection_select(:localeze_categories , LocalezeCategory.find(:all), :id , :name, {}, { :multiple => true, :size => 3 }) %>
{{form.payment_types_commadelimited}}
<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 :localeze_categories, "Localeze Categories", {class: "control-label"} %>
<div class="controls">
<%= f.collection_select(:localeze_categories , LocalezeCategory.find(:all), :id , :name, {}, { :multiple => true, :size => 3 }) %>
</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>