From 85d21ed55ecc4b11858658fe5584e6576745c875 Mon Sep 17 00:00:00 2001 From: Mateus Pereira Date: Tue, 10 Oct 2023 16:35:42 -0300 Subject: [PATCH] Move status field to last position --- app/views/stories/_form.html.erb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/views/stories/_form.html.erb b/app/views/stories/_form.html.erb index fd9653fd..bc9cf595 100644 --- a/app/views/stories/_form.html.erb +++ b/app/views/stories/_form.html.erb @@ -13,11 +13,6 @@ <%= f.hidden_field :project_id, value: params[:project_id] %> -
- <%= f.label :status, "Status" %> - <%= f.select :status, options_for_select({ "Pending" => "pending", "Approved" => "approved", "Rejected" => "rejected" }, selected: @story.status), class: "project-story-approved" %> -
-
<%= f.label :title %> <%= f.text_field :title, placeholder: "Story Title", class: "project-story-title", autofocus: true %> @@ -43,6 +38,11 @@
<%= markdown(@story.extra_info) %>
+
+ <%= f.label :status, "Status" %> + <%= f.select :status, options_for_select({ "Pending" => "pending", "Approved" => "approved", "Rejected" => "rejected" }, selected: @story.status), class: "project-story-approved" %> +
+
<%= f.submit yield(:button_text), class: "button green", id: "edit" %>