Merge branch 'master' of github.com:ZeusWPI/Tab into 21/buttons
Conflicts: app/assets/stylesheets/orders.css.scss
This commit is contained in:
commit
b9e5c63a9a
2 changed files with 21 additions and 7 deletions
|
@ -2,11 +2,6 @@
|
|||
// They will automatically be included in application.css.
|
||||
// You can use Sass (SCSS) here: http://sass-lang.com/
|
||||
|
||||
//.form-control.input-lg{
|
||||
// height:66px;
|
||||
// text-align: center;
|
||||
//}
|
||||
|
||||
.big-form-button {
|
||||
height: 65px;
|
||||
width: 65px;
|
||||
|
@ -16,3 +11,20 @@
|
|||
height: 66px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.form_row_image {
|
||||
height: 100px;
|
||||
width: 100px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.form_row_image img {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
top: 0;
|
||||
margin: auto;
|
||||
}
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
<div class="col-md-3 form_products">
|
||||
<div class="thumbnail ">
|
||||
<div class="form_row center">
|
||||
<%= image_tag product.avatar %>
|
||||
<div class="form_row_image">
|
||||
<%= image_tag product.avatar %>
|
||||
</div>
|
||||
<div class="caption">
|
||||
<%= content_tag :h3, "#{product.name} - #{euro(product.price)}" %>
|
||||
<%= content_tag :h4, "#{product.name} (#{euro(product.price)})" %>
|
||||
<%= f.counter :count, skip_label: true, wrapper_class: "input-group", class: "row_counter" %>
|
||||
<%= f.fields_for :product do |product| %>
|
||||
<%= product.hidden_field :price_cents, class: :price %>
|
||||
|
|
Loading…
Reference in a new issue