-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Network types locales + add help text on form #10
Update Network types locales + add help text on form #10
Conversation
cf3d1af
to
117dbe6
Compare
@B-Rass did you missed something here? I can't really review this, at least now. |
apparently ... ^^' |
816d8ee
to
e117137
Compare
@nicolas-brousse fixed |
e117137
to
ceea4e8
Compare
app/views/modeles/show.html.erb
Outdated
<% if network_types = @modele.network_types.presence %> | ||
<%= network_types.map { |type| Modele.human_attribute_name("network_types.#{type}") }.join(", ") %> | ||
<% else %> | ||
<%= Modele.human_attribute_name("network_types.blank") %> | ||
<% end %> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could be done in a decorator helper?
app/views/servers/show.html.erb
Outdated
<% if network_types = @server.network_types.presence %> | ||
<%= network_types.map { |type| Modele.human_attribute_name("network_types.#{type}") }.join(", ") %> | ||
<% else %> | ||
<%= Modele.human_attribute_name("network_types.blank") %> | ||
<% end %> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could be done in a decorator helper?
No description provided.