app/views/vacancies/show.html.erb in voluntary_recruiting-0.0.1 vs app/views/vacancies/show.html.erb in voluntary_recruiting-0.1.0

- old
+ new

@@ -3,10 +3,10 @@ <%= @vacancy.name %> </h3> <dl class="dl-horizontal"> <%= show_associations :project %> - <%= show_attribute :limit, value: "#{@vacancy.candidatures_left} / #{@vacancy.limit}" %> + <%= show_attribute :limit, value: "#{@vacancy.calculate_accepted_candidatures_amount} / #{@vacancy.limit ? @vacancy.limit : '∞'}" %> <%= show_attribute :state %> <%= show_actions %> </dl> <%= markdown @vacancy.text %> \ No newline at end of file