From a946ea07ef6d4b19fed50a7eaff1165abfd28a1f Mon Sep 17 00:00:00 2001 From: Tyrel Souza Date: Thu, 13 Feb 2014 01:07:35 -0500 Subject: [PATCH] cleanup html styles a bit --- app/views/layouts/listpush.html.erb | 1 - app/views/list_entries/new.html.erb | 135 ++++++++++++++++++---------- 2 files changed, 90 insertions(+), 46 deletions(-) diff --git a/app/views/layouts/listpush.html.erb b/app/views/layouts/listpush.html.erb index 7a6b42a..666b607 100644 --- a/app/views/layouts/listpush.html.erb +++ b/app/views/layouts/listpush.html.erb @@ -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" %> diff --git a/app/views/list_entries/new.html.erb b/app/views/list_entries/new.html.erb index 9fe6661..e4936c6 100644 --- a/app/views/list_entries/new.html.erb +++ b/app/views/list_entries/new.html.erb @@ -20,55 +20,100 @@
- - <%= f.label :Address %> - <%= f.text_field :Address %>
+
+ <%= f.label :BusinessName, "Business Name", {class: "control-label"} %> +
+ <%= f.text_field :BusinessName %> +
+
+
+ <%= f.label :Department, {class: "control-label"} %> +
+ <%= f.text_field :Department %> +
+
- <%= f.label :AltNumber %> - <%= f.text_field :AltNumber %>
+
+ <%= f.label :City, {class: "control-label"} %> +
+ <%= f.text_field :City %> +
+
+
+ <%= f.label :State, {class: "control-label"} %> +
+ <%= f.text_field :State %> +
+
+
+ <%= f.label :Zip, {class: "control-label"} %> +
+ <%= f.text_field :Zip %> +
+
+
+ <%= f.label :Phone, {class: "control-label"} %> +
+ <%= f.text_field :Phone %> +
+
+
+ <%= f.label :AltNumber, "Alternate Phone Number", {class: "control-label"} %> +
+ <%= f.text_field :AltNumber %> +
+
- <%= f.label :BusinessName %> - <%= f.text_field :BusinessName %>
- - <%= f.label :City %> - <%= f.text_field :City %>
- - <%= f.label :CreditCards %> - <%= f.text_field :CreditCards %>
- - <%= f.label :Department %> - <%= f.text_field :Department %>
- - <%= f.label :Fax %> - <%= f.text_field :Fax %>
- - <%= f.label :LogoImage %> - <%= f.text_field :LogoImage %>
- - <%= f.label :Phone %> - <%= f.text_field :Phone %>
- - <%= f.label :State %> - <%= f.text_field :State %>
- - <%= f.label :URL %> - <%= f.text_field :URL %>
- - <%= f.label :UnstructuredTerms %> - <%= f.text_field :UnstructuredTerms %>
- - <%= f.label :Zip %> - <%= f.text_field :Zip %>
- - <%= f.label :eMail %> - <%= f.text_field :eMail %>
- - - - <%= f.collection_select(:localeze_categories , LocalezeCategory.find(:all), :id , :name, {}, { :multiple => true, :size => 3 }) %> - {{form.payment_types_commadelimited}} +
+ <%= f.label :Fax, {class: "control-label"} %> +
+ <%= f.text_field :Fax %> +
+
+
+ <%= f.label :eMail, "e-Mail", {class: "control-label"} %> +
+ <%= f.text_field :eMail %> +
+
+ + +
+ <%= f.label :LogoImage, {class: "control-label"} %> +
+ <%= f.text_field :LogoImage %> +
+
+ +
+ <%= f.label :URL, {class: "control-label"} %> +
+ <%= f.text_field :URL %> +
+
+ +
+ <%= f.label :localeze_categories, "Localeze Categories", {class: "control-label"} %> +
+ <%= f.collection_select(:localeze_categories , LocalezeCategory.find(:all), :id , :name, {}, { :multiple => true, :size => 3 }) %> +
+
+ +
+ <%= f.label :CreditCards, {class: "control-label"} %> +
+ <%= f.text_field :CreditCards %> +
+
+ +
+ <%= f.label :UnstructuredTerms, {class: "control-label"} %> +
+ <%= f.text_field :UnstructuredTerms %> +
+