2024-09-27 22:14:00 -07:00
|
|
|
- title "#{@pet_type.human_name}: #{pose_name @pet_state.pose}"
|
|
|
|
- use_responsive_design
|
|
|
|
|
|
|
|
%ol.breadcrumbs
|
|
|
|
%li
|
|
|
|
= link_to "Rainbow Pool", pet_types_path
|
|
|
|
%li
|
2024-11-15 19:56:07 -08:00
|
|
|
= link_to @pet_type.possibly_new_color.human_name,
|
|
|
|
pet_types_path(color: @pet_type.possibly_new_color.human_name)
|
2024-09-27 22:14:00 -07:00
|
|
|
%li{"data-relation-to-prev": "sibling"}
|
2024-11-15 19:56:07 -08:00
|
|
|
= link_to @pet_type.possibly_new_species.human_name,
|
|
|
|
pet_types_path(species: @pet_type.possibly_new_species.human_name)
|
2024-09-27 22:14:00 -07:00
|
|
|
%li
|
|
|
|
= link_to "Appearances", @pet_type
|
|
|
|
%li
|
2024-10-11 17:48:23 -07:00
|
|
|
\##{@pet_state.id}
|
2024-09-27 22:14:00 -07:00
|
|
|
|
|
|
|
= outfit_viewer pet_state: @pet_state
|
|
|
|
|
2024-11-30 11:26:23 -08:00
|
|
|
= support_form_with model: [@pet_type, @pet_state] do |f|
|
2024-11-30 11:46:19 -08:00
|
|
|
= f.errors
|
2024-11-30 11:26:23 -08:00
|
|
|
|
|
|
|
= f.fields do
|
|
|
|
= f.radio_grid_fieldset "Pose" do
|
|
|
|
- pose_options.each do |pose|
|
|
|
|
= f.radio_field do
|
|
|
|
= f.radio_button :pose, pose
|
|
|
|
= pose_name(pose)
|
|
|
|
|
|
|
|
= f.field do
|
2024-11-30 10:49:47 -08:00
|
|
|
= f.label :glitched, "Gliched?"
|
2024-09-27 22:34:52 -07:00
|
|
|
= f.select :glitched, [["✅ Not marked as Glitched", false],
|
2024-11-30 10:49:47 -08:00
|
|
|
["👾 Yes, it's bad news bonko'd", true]]
|
|
|
|
|
2024-12-01 09:30:17 -08:00
|
|
|
= f.actions do
|
2024-11-30 10:49:47 -08:00
|
|
|
= f.submit "Save changes"
|
2024-09-27 22:14:00 -07:00
|
|
|
|
|
|
|
- content_for :stylesheets do
|
|
|
|
= stylesheet_link_tag "application/breadcrumbs"
|
|
|
|
= stylesheet_link_tag "application/outfit-viewer"
|
2024-11-30 10:49:47 -08:00
|
|
|
= stylesheet_link_tag "application/support-form"
|
2024-09-27 22:34:52 -07:00
|
|
|
= page_stylesheet_link_tag "pet_states/edit"
|
2024-09-27 22:14:00 -07:00
|
|
|
|
|
|
|
- content_for :javascripts do
|
|
|
|
= javascript_include_tag "outfit-viewer"
|