Skip to content

Instantly share code, notes, and snippets.

@Kevin-Kawai
Last active August 30, 2017 12:08
Show Gist options
  • Save Kevin-Kawai/b001226609da64c9d438393ae7cf7fde to your computer and use it in GitHub Desktop.
Save Kevin-Kawai/b001226609da64c9d438393ae7cf7fde to your computer and use it in GitHub Desktop.
<div class="col-8 offset-2">
<%= simple_form_for activity ,url: routine_activities_path(routine) do |f| %>
<%= f.input :name %>
<%= f.input :description %>
<%= f.submit "Submit" %>
<i class="fa fa-times new-activity" aria-hidden="true"></i>
<% end%>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment