Sha256: ecb869a0efb11804c1efd668d9852ed2fd27e83448e75b4a520c37ad6f92928d

Contents?: true

Size: 413 Bytes

Versions: 6

Compression:

Stored size: 413 Bytes

Contents

<h3>Author</h3>

<% if @author.errors.any? %>
  <div class="errors">
    <% @author.errors.full_messages.each do |message| %>
      <div class="alert alert-danger"><%= message %></div>
    <% end %>
  </div>
<% end %>

<%= form_for @author do |f| %>
  <div class="form-group">
    <%= f.label :name %>
    <%= f.text_field :name %>
  </div>
  <button class="btn btn-success" type="submit">Save</button>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
gdatastore_mapper-0.1.8 rails_example/app/views/authors/_form.html.erb
gdatastore_mapper-0.1.7 rails_example/app/views/authors/_form.html.erb
gdatastore_mapper-0.1.6 rails_example/app/views/authors/_form.html.erb
gdatastore_mapper-0.1.5 rails_example/app/views/authors/_form.html.erb
gdatastore_mapper-0.1.4 rails_example/app/views/authors/_form.html.erb
gdatastore_mapper-0.1.3 rails_example/app/views/authors/_form.html.erb