Merge pull request #6628 from opf/fix/28423/log-time-error

Remove datepicker class and replace it by some right aligned -number class

[ci skip]
pull/6633/head
Oliver Günther 6 years ago committed by GitHub
commit a65a4789b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/assets/stylesheets/content/_forms.sass
  2. 2
      app/views/timelog/edit.html.erb

@ -528,6 +528,8 @@ fieldset.form--fieldset
.form--text-field .form--text-field
@extend %input-style @extend %input-style
&.-number
text-align: right
.form--text-field, .form--text-field,
#{$text-input-selectors}, #{$text-input-selectors},

@ -44,7 +44,7 @@ See docs/COPYRIGHT.rdoc for more details.
</div> </div>
<div class="form--field -required"> <div class="form--field -required">
<%= f.text_field :hours, size: 6, required: true, container_class: '-xslim', class: '-augmented-datepicker' %> <%= f.text_field :hours, size: 6, required: true, container_class: '-xslim', class: '-number' %>
</div> </div>
<div class="form--field"> <div class="form--field">

Loading…
Cancel
Save