diff --git a/app/views/annotations/_form.html.erb b/app/views/annotations/_form.html.erb index b79ec63e1..1e3412eca 100644 --- a/app/views/annotations/_form.html.erb +++ b/app/views/annotations/_form.html.erb @@ -1,8 +1,10 @@
<%= form_with model: @annotation do |f| %> - <%= t('admin.annotation.time') %>   <%= TimeStamp.new(total_seconds: @total_seconds).hms_colon_string %> - -

+

+ <%= t('admin.annotation.time') %> +   + <%= TimeStamp.new(total_seconds: @total_seconds).hms_colon_string %> +

<%= f.hidden_field :medium_id, value: @medium_id %> @@ -21,8 +23,6 @@ <%= t('admin.annotation.comment') %> <%= f.text_area :comment, class: 'form-control' %> -
-
-
- - <%= t('admin.annotation.color') %> -
+
<% colors = Annotation.colors %> <% for i in 1..15 do %> <%= f.radio_button :color, @@ -52,8 +50,6 @@ <% end %>
-
- <%= t('admin.annotation.category') %> <%= helpdesk(t('admin.annotation.category_tooltip'), false) %> @@ -100,14 +96,10 @@
-
- -
+
-
- <% annotations_status = Medium.find_by(id: @medium_id).get_annotations_status %> <% if annotations_status == 1 %> @@ -134,8 +126,6 @@ -
-