Sha256: 1baabe71ccd4cdf2574a4acc182b7c30f999deecf4649f975c9a0bd0fdf966c3

Contents?: true

Size: 611 Bytes

Versions: 5

Compression:

Stored size: 611 Bytes

Contents

<%= form_for @group do |f| %>
    <% if f.error_messages.size > 0 %>
        <div class="notification is-danger">
          <%= f.error_messages %>
        </div>
    <% end %>
    <div class="field">
      <%= f.label :name, class: 'label' %>
      <div class="control">
        <%= f.text_field :name, class: 'input' %>
      </div>
    </div>
    <div class="field is-grouped">
      <div class="control">
        <%= f.submit t(:save), class: 'button is-link' %>
      </div>
      <div class="control">
        <%= link_to t(:back), groups_url, class: 'button is-text' %>
      </div>
    </div>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
boxroom-0.0.5 app/views/boxroom/groups/_form.html.erb
boxroom-0.0.4 app/views/boxroom/groups/_form.html.erb
boxroom-0.0.3 app/views/boxroom/groups/_form.html.erb
boxroom-0.0.2 app/views/boxroom/groups/_form.html.erb
boxroom-0.0.1 app/views/boxroom/groups/_form.html.erb