Sha256: 69296a137d42f334fa07b35751e518c5bd44a8b56a461c33771652fd061f9051

Contents?: true

Size: 453 Bytes

Versions: 5

Compression:

Stored size: 453 Bytes

Contents

= schedule.fields_for :duration_attributes, @event.schedule.duration_attributes do |duration|
  = schedule.form_group :duration, label: { text: Schedule.human_attribute_name('duration') } do
    .input-group
      = duration.text_field_without_bootstrap :count, class: 'duration-count form-control'
      .input-group-addon
        = duration.select_without_bootstrap :unit, DateBook.configuration.duration_units, selected: @event.schedule.duration_unit

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
date_book-0.0.6 app/views/date_book/events/fields/_duration.html.haml
date_book-0.0.5 app/views/date_book/events/fields/_duration.html.haml
date_book-0.0.3 app/views/date_book/events/fields/_duration.html.haml
date_book-0.0.2 app/views/date_book/events/fields/_duration.html.haml
date_book-0.0.1 app/views/date_book/events/fields/_duration.html.haml