- <tr>
- <td><%= t'trace.edit.owner' %></td>
- <td><%= link_to h(@trace.user.display_name), {:controller => 'user', :action => 'view', :display_name => @trace.user.display_name} %></td>
- </tr>
- <tr>
- <td><%= t'trace.edit.description' %></td>
- <td><%= f.text_field :description %></td>
- </tr>
- <tr>
- <td>Tags:</td>
- <td><%= f.text_field :tagstring %></td>
- </tr>
-</table>
+ <div class='form-row'>
+ <label class='standard-label'><%= t '.owner' %></label>
+ <p class='deemphasize'><%= link_to h(@trace.user.display_name), user_path(@trace.user) %></p>
+ </div>
+ <div class='form-row'>
+ <label class='standard-label'><%= t '.description' %></label>
+ <%= f.text_field :description %>
+ </div>
+ <div class='form-row'>
+ <label class='standard-label'><%= t '.tags' %></label>
+ <%= f.text_field :tagstring %> (<%= t '.tags_help' %>)
+ </div>
+ <div class='form-row'>
+ <label class='standard-label'><%= t '.visibility' %></label>
+ <%= f.select :visibility, [[t('trace.visibility.private'),"private"], [t('trace.visibility.public'),"public"], [t('trace.visibility.trackable'),"trackable"], [t('trace.visibility.identifiable'),"identifiable"]] %> (<a href="<%= t '.visibility_help_url' %>"><%= t '.visibility_help' %></a>)
+ </div>
+ </fieldset>