Sha256: bea9cce36957f37171a0de0de5cc2b7b6c7fcda6d419fd70a11cb3ad0909ad22
Contents?: true
Size: 922 Bytes
Versions: 1
Compression:
Stored size: 922 Bytes
Contents
= contextual_links .contextual = link_to t_model(Note), employee_notes_path(@employee), :class => 'icon icon-index' %h1= t_title = render 'persons/show', :vcard => resource.vcard - @person = @employee = render 'persons/civil' .contextual = link_to t_action('new', Employment), new_employment_path, :remote => true, :class => "icon icon-add" %h2= t_title :index, Employment - @employments = @employee.employments = render 'employments/list' .contextual = link_to t_action('new', Salary), new_salary_path(:salary => {:employee_id => @employee.id}), :remote => true, :class => "icon icon-add" %h2= t_title :index, Salary - @salaries = @employee.salaries = render 'salaries/list' .contextual = icon_link_to :new, new_employee_attachment_path(resource), :remote => true %h3= t('title.attachments') - @attachments = resource.attachments #attachments_list = render 'attachments/list' unless @attachments.empty?
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bookyt-0.0.1 | app/views/employees/show.html.haml |