diff --git a/app/views/kalibro_configurations/index.html.erb b/app/views/kalibro_configurations/index.html.erb index ea196c1..3f6557a 100644 --- a/app/views/kalibro_configurations/index.html.erb +++ b/app/views/kalibro_configurations/index.html.erb @@ -9,8 +9,8 @@ <%else%>

- <%= t('unauthenticated', action: "#{t('create').downcase} #{KalibroConfiguration.model_name.human(count: 2).downcase}") %>. + <%= t('unauthenticated', action: "#{t('create', model: KalibroConfiguration.model_name.human(count: 2)).downcase}") %>.

<% end %> -<%= render partial: 'list', locals: {configurations: @configurations} %> \ No newline at end of file +<%= render partial: 'list', locals: {configurations: @configurations} %> diff --git a/app/views/projects/index.html.erb b/app/views/projects/index.html.erb index 767df98..d6602bf 100644 --- a/app/views/projects/index.html.erb +++ b/app/views/projects/index.html.erb @@ -1,15 +1,15 @@ <% if user_signed_in? %>

- <%= link_to t('new_project'), new_project_path, class: 'btn btn-primary' %> + <%= link_to t('create', model: Project.model_name.human), new_project_path, class: 'btn btn-primary' %>

<%else%>

- <%= t('must_logged_create_projects') %> + <%= "#{t('unauthenticated', action: t("create", model: Project.model_name.human(count: 2)).downcase)}" %>

<% end %> diff --git a/app/views/projects/new.html.erb b/app/views/projects/new.html.erb index e500060..a7b6cda 100644 --- a/app/views/projects/new.html.erb +++ b/app/views/projects/new.html.erb @@ -1,5 +1,5 @@ <%= render 'form' %> diff --git a/app/views/projects/show.html.erb b/app/views/projects/show.html.erb index cbae955..685375c 100644 --- a/app/views/projects/show.html.erb +++ b/app/views/projects/show.html.erb @@ -1,4 +1,3 @@ -