<h1>New clock</h1>

<%= render 'form' %>

<%= link_to 'Back', clocks_path %>

<h1>New clock</h1>

<%= simple_form_for(@clock) do |f| %>
  <%= f.error_notification %>

  <div class="form-inputs">
    <!-- copied & pasted from a generated simple form. I feel nasty, but there
         isn't a way to have simple_form avoid hitting the database -->
    <div class="input integer optional clock_lcd_count">
      <label class="integer optional control-label" for="clock_lcd_count">LCD count</label>
      <input class="numeric integer optional" id="clock_lcd_count" name="clock[lcd_count]" step="1" value="6" type="number">
    </div>
  </div>

  <div class="form-actions">
    <%= f.button :submit %>
  </div>
<% end %>

<%= link_to 'Back', clocks_path %>

Copy & paste the simple_form generated HTML
Copy & paste the simple_form generated HTML

There isn't a way to generate and HTML input element, with the various nice
things like classes for styling, using simple_form, without it asking the model
for the current value. e.g. something like

    f.input :lcd_count, as: :integer

Won't work since it'll ask the Clock model what it's LCD count currently is.
(Clock doesn't know, or care.)
