Sha256: 7ffb578d8ae7582a522bb4d7eb1a01736d1a8441606fb44209cbe7360dae2375

Contents?: true

Size: 434 Bytes

Versions: 5

Compression:

Stored size: 434 Bytes

Contents

<%= simple_form_for [:dashboard, @snippet] do |f| %>
  <%= f.error_notification %>
  <%= f.input :name, autofocus: true %>
  <%= f.input :content, as: :text, input_html: { rows: 20, class: "summernote" } %>

  <div class="actions">
    <div class="pull-right">
      <%= f.submit class: "btn #{@snippet.persisted? ? 'btn-default' : 'btn-primary'} save" %>
    </div>
  </div>
<% end %>

<%= render "storytime/dashboard/media/modal" %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
storytime-1.0.6 app/views/storytime/dashboard/snippets/_form.html.erb
storytime-1.0.5 app/views/storytime/dashboard/snippets/_form.html.erb
storytime-1.0.2 app/views/storytime/dashboard/snippets/_form.html.erb
storytime-1.0.1 app/views/storytime/dashboard/snippets/_form.html.erb
storytime-1.0.0 app/views/storytime/dashboard/snippets/_form.html.erb