<%= f.text_field :relation, class: "ini_input" %> <%= f.submit "Save", class: "ini_input hp hh2 thmtxt thmc2", style: "margin-left: 10px;" %> <% if not @co_author_relation.new_record? %> <%= submit_tag "Cancel", :type => "button", class: "bt-cancel-type ini_input hp hh2 thmtxt" %> <% end %>