diff --git a/app/views/sites/edit.html.erb b/app/views/sites/edit.html.erb new file mode 100644 --- /dev/null +++ b/app/views/sites/edit.html.erb @@ -0,0 +1,27 @@ +

Editing site

+ +<%= error_messages_for :site %> + +<% form_for(@site) do |f| %> +

+ Name
+ <%= f.text_field :name %> +

+ +

+ Started
+ <%= f.check_box :started %> +

+ +

+ Start time
+ <%= f.datetime_select :start_time %> +

+ +

+ <%= f.submit "Update" %> +

+<% end %> + +<%= link_to 'Show', @site %> | +<%= link_to 'Back', sites_path %>