- <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>
-
-<br /><br />
-
-<%= submit_tag 'Save Changes' %>
+
+ <fieldset>
+ <div class='form-row'>
+ <label><%= t'trace.edit.owner' %></label>
+ <p class='deemphasize'><%= link_to h(@trace.user.display_name), {:controller => 'user', :action => 'view', :display_name => @trace.user.display_name} %></p>
+ </div>
+ <div class='form-row'>
+ <label><%= t'trace.edit.description' %></label>
+ <%= f.text_field :description %>
+ </div>
+ <div class='form-row'>
+ <label><%= t'trace.edit.tags' %></label>
+ <%= f.text_field :tagstring %> (<%= t'trace.edit.tags_help' %>)
+ </div>
+ <div class='form-row'>
+ <label><%= t'trace.edit.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'trace.edit.visibility_help_url' %>"><%= t'trace.edit.visibility_help' %></a>)
+ </div>
+ </fieldset>
+
+</div>
+
+<%= submit_tag t'trace.edit.save_button' %>