New translation styles for several AuthSource-views

pull/115/head
Philipp Tessenow 12 years ago
parent f2dc19a2b3
commit a84226190c
  1. 4
      app/views/auth_sources/_form.html.erb
  2. 8
      app/views/auth_sources/index.html.erb

@ -2,10 +2,10 @@
<div class="box">
<!--[form:auth_source]-->
<p><label for="auth_source_name"><%=l(:field_name)%> <span class="required">*</span></label>
<p><label for="auth_source_name"><%= AuthSource.human_attribute_name(:name) %> <span class="required">*</span></label>
<%= text_field 'auth_source', 'name' %></p>
<p><label for="auth_source_onthefly_register"><%=l(:field_onthefly)%></label>
<p><label for="auth_source_onthefly_register"><%= AuthSource.human_attribute_name(:onthefly) %></label>
<%= check_box 'auth_source', 'onthefly_register' %></p>
</div>

@ -6,10 +6,10 @@
<table class="list">
<thead><tr>
<th><%=l(:field_name)%></th>
<th><%=l(:field_type)%></th>
<th><%=l(:field_host)%></th>
<th><%=l(:label_user_plural)%></th>
<th><%= AuthSource.human_attribute_name(:name) %></th>
<th><%= AuthSource.human_attribute_name(:type) %></th>
<th><%= AuthSource.human_attribute_name(:host) %></th>
<th><%= l(:label_user_plural)%></th>
<th></th>
</tr></thead>
<tbody>

Loading…
Cancel
Save