- <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>
- </fieldset>
- <label><%= t'trace.edit.description' %></label>
- <%= f.text_field :description %>
- </fieldset>
- <fieldset>
- <label><%= t'trace.edit.tags' %></label>
- <%= f.text_field :tagstring %> (<%= t'trace.edit.tags_help' %>)
+ <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>