Sha256: c40a64b34a0d7fea601ec284200ed6afb53ae22b7a6aeb97536c5fb364d6f6f4
Contents?: true
Size: 728 Bytes
Versions: 7
Compression:
Stored size: 728 Bytes
Contents
%table{:class => "#{collection.first.class.to_s.downcase} detail"} - resource.attributes.each_pair do |attr, value| - next if ['id', 'created_at', 'updated_at', 'client_id', 'project_state_id'].include?(attr) %tr %td= attr.titleize %td= value %tr %td= t_model(ProjectState) %td= @project.project_state %tr %td= t_model(Company) %td= @project.client %table.list %tr - [:person, :when, :duration].each do |attr| %th= t_attr(attr, Activity) - @project.activities.each do |task| %tr %td= task.person %td= task.when %td= t('bookyt.projects.minutes', :duration => task.duration) = link_to t_title(:new, Activity), new_project_activity_path(resource)
Version data entries
7 entries across 7 versions & 1 rubygems