hicknhack-software/redmine_hourglass

View on GitHub
app/views/hourglass_ui/forms/fields/_activity.slim

Summary

Maintainability
Test Coverage
.form-field
  .label
    = form.label :activity_id
  .input
    = form.collection_select :activity_id, TimeEntryActivity.applicable(entry.project), :id, :name, { include_blank: true }, disabled: local_assigns[:disabled], required: local_assigns[:required]