- <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, :size => 50 %></td>
- </tr>
- <tr>
- <td><%= t'trace.edit.tags' %></td>
- <td><%= f.text_field :tagstring, :size => 50 %> (<%= t'trace.edit.tags_help' %>)</td>
- </tr>
-</table>
-
-<br /><br />
+
+ <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>